get_votes
Fetch currently active school votes and elections from Lanis, including student council ballots, and return them in markdown or JSON for review.
Instructions
Return active votes and elections (Wahlen / GRB Wahlen) from Lanis.
Fetches currently active school votes and elections, such as student council elections or other school-wide voting events.
Args: response_format: Output format - 'markdown' (default) or 'json'.
Returns: List of active votes. JSON schema: { "count": int, "votes": [ { "id": str, "title": str, "description": str, "status": str } ] }
Error Handling: - Returns "Error: ..." on API or auth failure - Returns "No active votes." if there are none
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "get_votes"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| response_format | No | markdown |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |