Soroush Plus (own account): send poll
soroushplus_web_send_pollSend a poll with 2–10 options to an approved Soroush Plus chat after explicit user confirmation and allowlist checks; requires confirm=true and messaging sends enabled.
Instructions
Send one poll with 2-10 options. Needs confirm: true after the user approves, the chat in SOROUSHPLUS_WEB_ALLOWED_CHATS and NABU_MESSAGING_ENABLE_SEND=1.
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": {
"chatId": "<chatId>",
"question": "<question>",
"options": "<options>",
"confirm": "<confirm>"
},
"name": "soroushplus_web_send_poll"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| chatId | Yes | "me" for Saved Messages, @username, or a numeric chatId from messaging_web_list_chats (channels and groups are negative) | |
| confirm | Yes | Must be true, and only after the user has explicitly approved this exact action. | |
| options | Yes | ||
| question | Yes | ||
| anonymous | No | ||
| multipleAnswers | No |