Edit a decision
update_decisionChange a decision's question and/or options after creating it. Requires the admin_token. Send only what changes.
question: any type.
options (polls and rankings): the complete new list, in display order. Use {"id": 12, "label": "New name"} to rename an option and keep its votes (ids come from get_decision), or a plain label to keep a same-named option or add a new one. Options left out are removed and their votes are deleted, so confirm with the user before dropping an option that has votes. Once someone has ranked, ranking options can only be renamed or reordered.
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": {
"decision_id": "<decision_id>",
"admin_token": "<admin_token>"
},
"name": "update_decision"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| options | No | Complete new option list (2-5 for polls, 2-12 for rankings). | |
| question | No | New question. Max 120 characters for rankings. | |
| admin_token | Yes | The admin_token returned by create_decision. | |
| decision_id | Yes | Decision id or SettleIt link, e.g. "AbC123xYz9" or "https://settleit.now/p/AbC123xYz9". |