Ask the human to decide
decidePut a question for the person on the call's Decision Board (shown as #number with buttons; the person can also answer by voice, also freely). Meant for every question the person decides: yes/no, A/B, an approval, picking a value. A question only spoken via say leaves no button and no decision event. Without options it is a yes/no question (buttons Yes/No); options: 2 to 3, max 40 characters each, recommend = index of the recommended option. question: max 160 characters. Longer or more: 422, never cut. Returns id and number. The answer arrives later as a next event {type: decision, id, number, verdict: yes|no|option|other|unclear, option?, text? (their own answer, or for unclear the request to ask it again more simply), by (name), answered_by (who set it: owner|guest|delta_voice|helper|agent), answered_via (click|voice|api), answered_by_label (helper/agent label), answered_role?}. context: the background the person opens with the arrow next to the question on the card and Delta uses to explain it, only what the reader needs, nothing internal, one short line per part (Was / Warum / Bei Ja / Bei Nein, or What / Why / If yes / If no; lines starting with '- ' show as bullet points); faq: the 3 likely follow-up questions with prepared answers, shown below it as questions and answers. Without context and faq the card shows no arrow; without context and 3 faq the result carries warnings (no error). Change an open one with id plus new fields, remove it with id and delete true. no_question = id of a question_check event, alone: confirms that line was no question to the person. Decisions marked auto (detected automatically) are answered only by a human; changing or deleting them gives 403. card_type done = completion report instead of a question: title (whole sentence, max 160), summary (max 600), evidence [{label, url?}] (max 5, http(s) only), live (bool), ask (optional follow-up question); no question/options/recommend/context/faq (422). The server shows the single button Seen; it never counts as an open decision. Same sender and same title while unseen updates that card. When the person marks it, next gets {type: decision, card_type: done, id, number, verdict: seen, title, text? (answer to ask), by, answered_by, answered_via, answered_by_label}.
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": {
"session": "<session>"
},
"name": "decide"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | No | Id of an open decision to change or delete. | |
| ask | No | card_type done: optional follow-up question (one sentence ending with ?), answered in a text field next to Seen. | |
| faq | No | Up to 3 likely follow-up questions with prepared answers [{q, a}] (max 200 chars each), hidden, for the voicebot. Without context and 3 faq the result carries `warnings`. | |
| goal | No | Optional goal of this entry: number or title of a goal of the account (0 or empty = no goal). Unknown goals are ignored. Without it the entry inherits the goal of your last status (helpers: no inheriting). | |
| live | No | card_type done: true = it is live (marked on the card). | |
| title | No | card_type done: what is finished, one whole sentence, max 160 chars, no bare numbers. | |
| ttl_s | No | Optional: seconds until this card is hidden from the board if it is still open (or answered). Omit it and the card stays until it is answered or your session ends; never set a default. | |
| delete | No | true = remove the decision `id`. | |
| context | No | Background (max 1500 chars) the person opens with the arrow next to the question; Delta reads its first sentences aloud with the card and explains from it, so write it for the ear: an example, one key number, no lists. Only reader-relevant, one line per part: Was / Warum / Bei Ja / Bei Nein. | |
| options | No | Optional: 2 to 3 answer options, max 40 characters each; leave out for a yes/no question. | |
| session | Yes | The `session` value returned by join. | |
| summary | No | card_type done: short report, max 600 chars. | |
| evidence | No | card_type done: up to 5 proofs [{label, url?}], url only http(s). | |
| question | No | The question, max 160 chars (required when creating). | |
| card_type | No | decision (default) or done: a completion report ('work finished') with title, summary, evidence, live, ask instead of question/options; the person only marks it Seen, no decision. | |
| recommend | No | Index (0-based) of your recommended option. | |
| no_question | No | Id of a question_check event: confirms the line was no question to the person (pass it alone). |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||