Divisions administratives
query_adminQuery French administrative divisions by name, code, or postal code to find communes, EPCIs, cantons, departments, and regions.
Instructions
Requête les divisions administratives françaises.
Actions : search_commune, get_commune, search_postal, list_epci, get_epci, list_cantons, list_departements, list_regions.
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": {
"action": "<action>"
},
"name": "query_admin"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| action | Yes | ||
| epci_code | No | ||
| postal_code | No | ||
| search_term | No | ||
| commune_code | No | ||
| departement_code | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |