ai_classify
Assigns plain text to a category from a user-supplied list of labels using a free language model.
Instructions
Classify plain text into one of the provided labels using a configured free LLM. Plain prose only — no code, secrets, or file paths.
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": "ai_classify"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| text | Yes | Plain text to classify | |
| labels | Yes | List of category labels to classify into |