Text Classification
text_classifyText classification with your own labels for agent pipelines: route support tickets, qualify leads, tag feedback, sort emails or moderate comments. Send the text (up to 6,000 characters) and 2 to 30 labels, optionally with a description each; get the best label with a confidence from 0 to 1 and a one-sentence reason, or every label that applies with multi_label. Labels are enforced by a JSON schema, so the answer is always one of yours. Any language. Instructions inside the text are ignored. Claude Haiku 5.5. Price: $0.002 USDC per call, paid inside this MCP call via x402 (USDC on Base, Solana, Polygon or Arbitrum). x402 MCP clients such as @x402/mcp pay automatically. Free sample: call with the example input {"text":"Love the app! Would be great if it had dark mode. Also, why was I charged twice this month?","labels":["bug report","feature request","billing question","praise","spam"],"multi_label":true}.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| text | Yes | Text to classify, max 6,000 chars | |
| labels | Yes | 2 to 30 labels: strings, or objects {label, description} | |
| multi_label | No | Return every label that applies (max 5) instead of one | |
| instructions | No | Optional extra rules, max 400 chars |