classify
classifyZero-shot classification into your own labels: up to 50 texts in one call, single or multi-label, with confidence and label counts. Route tickets, tag leads, sort reviews. $0.003 for the first 4,000 characters, +$0.001 per further 4,000 (max 40,000). Costs $0.012 USDC per call (x402).
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": {
"labels": "<labels>"
},
"name": "classify"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| text | No | ||
| items | No | ||
| labels | Yes | ||
| multi_label | No | ||
| instructions | No |