classify
Assign one label to text based on calibrated confidence, with a score for each label. Use for routing, tagging, moderation, and triage.
Instructions
Pick the single best label for a text, with calibrated confidence and a score for every label. Use for routing, tagging, moderation, triage.
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 | ||
| labels | Yes | ||
| instructions | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |