List 29N candidacies
elecciones29n_list_partiesList the parties and coalitions running in the 29N elections for Congreso or Senado, and resolve names or acronyms to the official codes and colors used in results.
Instructions
Use this tool to list the candidacies (parties and coalitions) of the 29N call with their
official name, acronym and color, or to resolve how a party appears in the results.
WHEN TO USE IT:
When the user asks which parties run, or uses a name/acronym you need to match with the
'code' or 'acronym' of the results.
INPUT PARAMETERS (What it receives):
- params.chamber ('congreso' default | 'senado'): candidacies differ between chambers.
- params.query (optional str): words matched against name and acronym, ignoring accents and
case (e.g. 'psoe', 'sumar', 'compromis').
WHAT IT RETURNS:
- parties: code, acronym, name, color and group (agrupación) of each candidacy.
- total, call ('11-26'), next_step and source.
OPERATING NOTES:
- Candidacies that run under different names in some territories share the same 'group'.
- This catalog does not contain votes: use 'elecciones29n_get_scope_results' for results.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_list_parties"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| params | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| call | Yes | ||
| query | No | ||
| total | Yes | ||
| source | Yes | ||
| chamber | Yes | ||
| parties | Yes | ||
| next_step | Yes |