Choose one option
choiceClassify any text into exactly one of your provided options and get back the chosen label, a confidence score and per-option probabilities. Use it for routing, labelling and triage without parsing model replies.
Instructions
Classify text into exactly one of the given options. Returns the chosen option, a confidence, and a probability for every option. Use it for routing, labelling and triage instead of asking a model and parsing its reply.
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>",
"question": "<question>",
"options": "<options>"
},
"name": "choice"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| text | Yes | The text to judge: a message, ticket, review, document or any other content. | |
| model | No | Optional model id (for example system-one or auto). Defaults to the server's default model. | |
| options | Yes | The options: an array of names, or an object mapping each name to a short description of when it applies. At least two. | |
| question | Yes | What to decide, e.g. 'Which team should handle this?' |