byelections
Retrieves Malaysian by-elections with winner, majority, and turnout, newest first, filtered by state and date range. Use it to answer questions on historical by-election outcomes.
Instructions
All by-elections with winner, majority and turnout, newest first. Dates as YYYY-MM-DD.
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": "byelections"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| state | No | ||
| date_to | No | ||
| date_from | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||