classify
classify3 free MCP calls per day (all tools together), then $0.005 USDC via x402 or card credits (paid in-band: params._meta["x402/payment"]). Text classification: classify text (max 6,000 chars) into your own labels (2-20, single or multi-label) with confidence and a short reason; output is always one of your labels. Small LLM (Workers AI Llama 3.1 8B). GET query or POST JSON body. When to use: Use classify to route tickets, emails or posts into your own labels.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"text": "<text>",
"labels": "<labels>"
},
"name": "classify"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| text | Yes | text to classify | |
| multi | No | true for multi-label | |
| labels | Yes | comma-separated labels (2-20) |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||