decide
Ask questions about a case and get calibrated probabilities. Works out of the box.
Makes a decision, as POST /v1/decide, and returns the same response. No setup needed.
| Input | Description |
|---|---|
data | The case's structured data: a JSON object or array (or text) |
context | Free text about the case: notes, messages, documents |
questions | Required. Names to questions, each with type (noul, choice, multi_choice or score), instructions, criteria and optional base_rate, as in Decisions |
model | Optional. grayson-1 by default |
api_key | /mcp/keys only |
Send data, context or both; up to 32,768 tokens with the questions. Put definitions and policy in the instructions and criteria, act on probabilities with thresholds you choose, and add a base_rate when the user knows how common an answer is in their cases (Calibration).
{
"context": "Login from a new device in Lagos, then a $4,900 wire to a new payee 6 minutes later. Customer usually logs in from Ohio.",
"questions": {
"is_ato": { "type": "noul", "instructions": "Is this account takeover?" },
"next_step": {
"type": "choice",
"instructions": "What should the analyst do next?",
"criteria": { "block": "Block the wire and call the customer", "review": "Hold for manual review", "allow": "Let it through" }
}
}
}