{
  "id": "text.classify",
  "object": "tool",
  "name": "Classify text",
  "summary": "Sort text into your labels.",
  "description": "Zero-shot classification with an LLM: assigns text to one (or several) of the labels you give, with a confidence for each and a short reason.",
  "category": "text",
  "hosted_by": "Opentools",
  "runtime": "ai",
  "side_effects": false,
  "status": "live",
  "credits": 2,
  "price": "$0.0020",
  "providers": [
    {
      "id": "opentools",
      "name": "Opentools",
      "price": "$0.0020"
    }
  ],
  "mcp_name": "text_classify",
  "input_schema": {
    "type": "object",
    "properties": {
      "text": {
        "type": "string",
        "minLength": 1,
        "maxLength": 50000,
        "description": "The text to classify"
      },
      "labels": {
        "minItems": 2,
        "maxItems": 50,
        "type": "array",
        "items": {
          "type": "string",
          "minLength": 1,
          "maxLength": 100
        },
        "description": "The labels to choose from"
      },
      "multi_label": {
        "default": false,
        "description": "Allow more than one label",
        "type": "boolean"
      },
      "instructions": {
        "description": "What the labels mean, or how to decide",
        "type": "string",
        "maxLength": 2000
      }
    },
    "required": [
      "text",
      "labels"
    ]
  },
  "kind": "tool"
}