close_poll
Close a poll in a Nextcloud Talk conversation to stop voting and reveal final results to all participants. Irreversible action for poll creators or moderators.
Instructions
Close a poll in a Talk conversation.
Once closed, no more votes can be cast and results become visible to all participants (regardless of result_mode). Only the poll creator or a conversation moderator can close a poll.
This action is irreversible — a closed poll cannot be reopened.
Args: token: The conversation token. poll_id: The poll ID to close.
Returns: JSON object with the final poll results including all votes and details.
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": {
"token": "<token>",
"poll_id": "<poll_id>"
},
"name": "close_poll"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| token | Yes | ||
| poll_id | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |