Autorité compétente
find_authorityReturns the French authority a raffle is filed with for a postcode (the town hall of the commune, or the Préfecture de police for Paris): name, public address, e-mail, phone, website, online form, and the public directory source with the date it was read. When a postcode covers several communes, the commune name selects one.
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": {
"postcode": "<postcode>"
},
"name": "find_authority"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| commune | No | Commune name, when the postcode covers several. | |
| language | No | Language of the notice. | |
| postcode | Yes | French postcode of the head office, five digits. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| kind | Yes | ||
| name | Yes | ||
| Yes | |||
| phone | Yes | ||
| notice | Yes | ||
| source | Yes | ||
| address | Yes | ||
| website | Yes | ||
| form_url | Yes |