classify
Categorize any text into one of your specified labels for sentiment, topic, or intent analysis.
Instructions
Classify a text into exactly one of the candidate labels you provide (e.g. sentiment, topic, intent).
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 | The text to classify. | |
| labels | Yes | Candidate labels to choose from, e.g. ['positive','negative','neutral']. |