Get 29N results of a territory
elecciones29n_get_scope_resultsFetch official 29N results for one territory from a scope ID, covering polling stations, turnout versus 2023, and votes, percentages, and seats by candidacy once counting begins.
Instructions
Use this tool to get the official 29N figures of ONE territory: polling stations constituted,
turnout updates compared with 2023 and, once counting has started, votes, percentages and
seats of every candidacy (and Senate candidates).
WHEN TO USE IT:
After 'elecciones29n_search_scopes' returned the scope_id of the territory the user asks about.
INPUT PARAMETERS (What it receives):
- params.scope_id (str, required): 24-hex scope_id from 'elecciones29n_search_scopes'.
- params.chamber ('congreso' default | 'senado'): must match the chamber used in the search.
- params.data_source ('auto' default | 'pro' | 'def'): provisional or definitive figures;
'auto' uses the source the website marks as active.
- params.children_level (optional, number or name): also summarize every child territory of
that level. It must be one of the scope 'child_levels'.
- params.children_limit (1-500, default 60).
WHAT IT RETURNS:
- scope: name, official territory code, level, census, polling stations, parents and child_levels.
- constitution: polling stations opened/suspended (absolute and %).
- turnout: turnout updates (time, votes, %), each with 'published' and the 2023 figure at the
same time ('previous', with deltas). 'latest_published' is the one to report.
- count (phase 2): totals (votes, valid, blank, null, abstention, turnout), 'counted_pct',
'seats_at_stake', 'parties' (code, acronym, name, color, votes, votes_pct, seats and the
2023 counterpart with deltas), 'candidates' (Senado: votes and elected flag), 'previous'
totals of 2023 and 'change_vs_previous'. 'started' is false until counting begins.
- children / children_total / children_truncated: per-child summary when 'children_level'
was given: turnout, or count progress ('census_counted_pct' = share of the census counted,
'polling_stations_counted_pct' = share of polling stations counted, when reported) and
the leading party (only once the selected source has counted).
- next_step and source (cite it, including data_source and fetched_at = retrieval time).
OPERATING NOTES:
- Never report party results before phase 2 or while 'count.started' is false.
- While counting, always say which percentage has been counted and that figures are provisional.
- Report figures exactly as returned; do not round seats or invent missing values.
- During the count, constitution and turnout come from the day snapshot published under the
Congreso (common to both chambers); the 2023 baseline is always the definitive count.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": {
"params": "<params>"
},
"name": "elecciones29n_get_scope_results"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| params | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| count | No | ||
| phase | Yes | ||
| scope | Yes | ||
| source | Yes | ||
| chamber | Yes | ||
| turnout | No | ||
| children | No | ||
| next_step | Yes | ||
| data_source | Yes | ||
| phase_label | Yes | ||
| constitution | No | ||
| children_level | No | ||
| children_total | No | ||
| children_truncated | No |