edit_poll
Update an existing poll's name, timing, or privacy settings using its ID.
Instructions
Edits an existing poll.
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": {
"poll_id": "<poll_id>",
"company_id": "<company_id>",
"name": "<name>",
"start_time": "<start_time>",
"end_time": "<end_time>"
},
"name": "edit_poll"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | Poll name | |
| poll_id | Yes | Poll ID to edit | |
| end_time | Yes | End time as Unix timestamp (seconds) | |
| company_id | Yes | Company ID | |
| start_time | Yes | Start time as Unix timestamp (seconds) | |
| description | No | Poll description | |
| privacy_type | No | Privacy type |