tsm_classify
Classify text into provided labels with a budget model. Returns label, confidence score, and reason. Ideal for intent classification, routing decisions, and tagging.
Instructions
Classify text into one of the provided labels using a budget model. Returns label, confidence score, and a brief reason. Useful for intent classification, routing decisions, and tagging.
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": "tsm_classify"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| text | Yes | Text to classify | |
| labels | Yes | List of possible labels | |
| instructions | No | Optional classification instructions |