create_request_record
Create a Freedom of Information request record by providing title, body, external user name, and external URL. This adds the request to WhatDoTheyKnow's database.
Instructions
Create a request through the experimental write API.
Requires WDTK_API_KEY in the server environment.
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": {
"title": "<title>",
"body": "<body>",
"external_user_name": "<external_user_name>",
"external_url": "<external_url>"
},
"name": "create_request_record"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| body | Yes | ||
| title | Yes | ||
| external_url | Yes | ||
| external_user_name | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||