tse_apuracao_cargo
Query official TSE election results by office, including section tallies, voter turnout summaries, and paginated candidate vote rankings for a selected electoral cycle and state.
Instructions
Query TSE EA20 section tally, voter turnout summary, and paginated candidate vote rankings for an electoral office.
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": {
"cargo": "<cargo>"
},
"name": "tse_apuracao_cargo"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| uf | No | 2-letter state UF ('sp', 'rj', 'df', etc.) or 'br' (presidente only) | |
| page | No | ||
| cargo | Yes | Electoral office | |
| ciclo | No | Electoral cycle identifier (auto-resolved by cargo if omitted: 'ele2024' for prefeito/vereador, 'ele2026' for presidente/governador/senador/deputado_*) | |
| limit | No | ||
| codigo_eleicao | No | Numeric TSE election code (auto-resolved by cargo if omitted: '619' for municipal in ele2024, '6259' for state offices in ele2026, '6257' for presidente in ele2026) | |
| codigo_tse_municipio | No | 5-digit TSE municipality code (required for prefeito and vereador) |