tse_partidos_federacoes
Summarizes party and federation nominal/legend vote totals and elected candidate counts from TSE EA20 -u.json for office, state, and cycle comparisons.
Instructions
Summarize party and federation nominal/legend vote totals and elected candidate counts from TSE EA20 -u.json.
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_partidos_federacoes"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| uf | No | 2-letter state UF ('sp', 'rj', 'df', etc.) or 'br' (presidente only) | |
| 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 | ||
| partido | No | Optional party acronym, name, or number filter | |
| 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) |