invite_to_poll
Invite users or channels to participate in a poll by supplying their IDs. Use the poll ID and target list to add participants directly.
Instructions
Invites users or channels to participate in a 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>",
"invite_to": "<invite_to>",
"invite_ids": "<invite_ids>"
},
"name": "invite_to_poll"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| poll_id | Yes | Poll ID | |
| invite_to | Yes | Invite target type | |
| company_id | Yes | Company ID | |
| invite_ids | Yes | IDs of channels or users to invite |