list_polls
Retrieve school polls showing each question, answer options, vote totals, and current winner. Requires school ID.
Instructions
List polls for a school with questions, options, and vote counts.
Shows each poll's question, answer options with vote totals, and which option is winning.
Args: school_id: School ID
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": {
"school_id": "<school_id>"
},
"name": "list_polls"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| school_id | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |