tse_candidatos_busca
Search Brazilian TSE candidates, including running mates and substitutes, by name, ballot number, party, office, state, or elected status to retrieve official records.
Instructions
Search TSE EA20 candidates (including running mates/substitutes) by name, ballot number, party, or elected status.
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_candidatos_busca"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| uf | No | 2-letter state UF ('sp', 'rj', 'df', etc.) or 'br' (presidente only) | |
| nome | No | Partial candidate or vice name | |
| 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 | ||
| numero | No | 2 to 5 digit candidate ballot number | |
| partido | No | Party acronym (e.g., 'PL', 'PT', 'MDB') | |
| apenas_eleitos | 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) |