Decide from rules or a model
decideGet a structured decision about the facts in state: yes or no with a probability, one of several choices, or a score, from rules you send or from a model. Without model, or with model rules, each rule is {"if": condition, "weight": number}, where a condition tests a field of state with eq, ne, gt, gte, lt, lte, in, exists, prefix or contains, combined with any and not, and yes_no, choice and scale questions answer with probability, confidence and action. With model clef, nimble or tev1, a model answers noul, choice and score questions from instructions and criteria, with no automatic action or rule trace; tev1 is the smallest and fastest, tested by its maker in English only, for short, direct questions. Model requests take up to 8 KiB of JSON, 3 KiB for tev1, 4 questions and 8 choices per question, within 60 per minute and 1000 per UTC day per IP; refusals may carry Retry-After. Bodies are not stored; usage counters are. Do not send credentials or sensitive personal data. Format: https://aisense.no/free-public-api-decide-api-endpoint. No API key, no account and no sign up.
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>",
"questions": "<questions>"
},
"name": "decide"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| model | No | Optional. rules (default), clef, nimble or tev1. Unknown models are refused. | |
| state | Yes | The facts the rules test, or the input sent to the selected model. | |
| questions | Yes | 1 to 64 named rule questions, or up to 4 model questions under the default model limits. |