Add voters to a draft election
add_votersAdd eligible voters (email, optional name and unit) to a DRAFT election in the connected account, through the import the voter list page uses. Idempotent: people already on the list are skipped, a voter listed twice is added once, and rows that cannot be added are named by row number. Returns counts, never the rows, and the updated price. For a published election, voters are added by the organizer on the election page, because a larger list can change the price.
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>",
"voters": "<voters>"
},
"name": "add_voters"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| voters | Yes | The eligible voters (the roster), one per owner/member. Email addresses only; people reached by text or mail are added by the organizer on the election page. | |
| election | Yes | The draft's id or slug. |