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.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| model | No | ||
| state | Yes | ||
| labels | No | ||
| criteria | No | ||
| instructions | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||