Ask a decision model
decisions_askAsk a decision model (Jev, Clef, Mercury Decide and others) structured questions about some data and get probabilities instead of text. Same as POST /v1/decisions. Question types: "noul" — yes or no, answered as the probability of yes; "choice" — one option out of criteria; "score" — a level on the scale given in criteria. All questions are answered in one call.
Good for classification, routing and triage where you need a calibrated number rather than prose — and much cheaper than asking a chat model.
Spends money from the account balance: billed per input token only. usage.cost_rub is what this call cost.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| model | Yes | Model id from the catalogue, vendor included and matched exactly, e.g. "typesafe/jev-1.13". Find one with models_search and tool: "decisions_ask". | |
| state | Yes | The data the questions are about: a string, an object or an array. | |
| questions | Yes | Questions by key, e.g. {"urgent": {"type": "noul", "instructions": "Is this urgent?"}, "team": {"type": "choice", "instructions": "Which team?", "criteria": {"billing": "Payments", "tech": "Outages"}}}. "score" takes criteria as an array of level descriptions. Each key comes back in answers. |