settle_poll
Close a Settle poll now, before its deadline, with the option currently in the lead. Only the poll's creator can: it needs the creator_secret that create_poll returned. Refuses when no option has a yes vote yet (nothing to settle); the poll then stays open.
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": {
"short_code": "<short_code>",
"creator_secret": "<creator_secret>"
},
"name": "settle_poll"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| short_code | Yes | The 6-character poll code from create_poll | |
| creator_secret | Yes | The creator_secret from create_poll (not the guest_token) |