classify_text
Classify text into predefined categories using static embeddings for efficient topic identification.
Instructions
Classify text into predefined categories using static embeddings.
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>"
},
"name": "classify_text"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| text | Yes | The text to classify | |
| top_k | No | Number of top categories to return (default: 3) |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |