classify
Assign a single category to a state from provided labels or criteria, returning the chosen label with calibrated confidence and probability over all categories.
Instructions
Assign the single best category to a state (one choice question).
Provide either labels (a list of category names) or criteria (a map of category -> short
description; more accurate). Returns the chosen label, calibrated confidence, and the probability
over all labels.
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": {
"state": "<state>"
},
"name": "classify"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| model | No | ||
| state | Yes | ||
| labels | No | ||
| criteria | No | ||
| instructions | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||