build_request_url
Generate a prefilled URL for a UK Freedom of Information request. Specify the public authority and optionally add title, body, and tags to pre-populate the request form.
Instructions
Build a prefilled WhatDoTheyKnow request URL.
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": {
"authority_slug": "<authority_slug>"
},
"name": "build_request_url"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| body | No | ||
| tags | No | ||
| title | No | ||
| authority_slug | Yes | ||
| default_letter | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| url | Yes | ||
| authority_slug | Yes |