AI Classify (zero-shot)
agentbit.ai_classifyClassify text into your labels with confidence and per-label scores. Single- or multi-label. Cheap and high-volume: routing, tagging, moderation triage, intent. Pay-per-call via x402 (USDC, Base).
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": "agentbit.ai_classify"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| text | Yes | The text to classify (required). | |
| labels | Yes | Allowed labels (required, up to 30). | |
| _payment | No | Optional base64 x402 PAYMENT-SIGNATURE payload. Omit to receive payment requirements. | |
| multi_label | No | Allow multiple labels (default false). | |
| instructions | No | Optional guidance on how to classify. |