Change a draft election
update_election_draftChange a DRAFT election in the connected account: title, description, organization name, schedule and time zone, secret ballot, results visibility, quorum, and the ballot (add, remove or change questions, or replace them all). While nobody has paid for it, its state, community type, vote type and verification can change too. Fields mean what they mean in create_election_draft. Changes go through the election editor, so anything the election page would refuse is refused with its reason and nothing is half-changed where that can be checked first. Returns one plain sentence per change, written from the saved election, and what still blocks publishing. A published election is changed by the organizer on its page.
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": {
"election": "<election>",
"patch": "<patch>"
},
"name": "update_election_draft"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| patch | Yes | Only the fields to change; every field means what it means in create_election_draft. At least one field. | |
| election | Yes | The draft's id or slug. |