get_authority
Fetches full details of a public body, its laws, and the applicable act to help identify the right authority for freedom-of-information requests.
Instructions
Full record for one public body, including its laws. GREEN.
The API does not expose ``default_law``, so the law the REST API would apply is
recomputed here the way froide's ``get_applicable_law()`` does it
(``order_by('-meta', '-priority')``). That default is almost always the *meta* law,
which is why the API cannot be used to file under a specific act.
Args:
id: numeric public body id.
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": {
"id": "<id>"
},
"name": "get_authority"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes |