get_publication_document
Retrieve metadata for a specific UK Parliament publication document, such as a bill document, including filename, content type, and size.
Instructions
Get information about a specific publication document. Use when you need metadata about bill documents including filename, content type, and size.
Args:
publication_id: Publication ID.
document_id: Document ID to get details for.
Returns:
Metadata about the publication document.
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": {
"publication_id": "<publication_id>",
"document_id": "<document_id>"
},
"name": "get_publication_document"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| document_id | Yes | ||
| publication_id | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |