Score texts against your own categories
classifyLabels up to 20 texts with 2 to 20 labels you choose, with a confidence from 0 to 1 and a one-line reason per text. One label per text, or several with multi true. Uses the chat model with JSON output; labels are as good as the model's reading of them. Price: $0.002 per successful call, paid with x402 (USDC on Base, Solana and 10 more networks); failed calls are not charged.
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 | One text (or texts) | |
| multi | No | true when a text may take several labels | |
| texts | No | Up to 20 texts | |
| labels | Yes | 2 to 20 different labels |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| model | No | ||
| source | No | ||
| results | No | ||
| checkedAt | No |