Fetch a document by id
fetchFetch a search result by id, e.g. 'cso:F1001' or 'legislation:2018/7/s2'. Official service links return handoff guidance, not publisher content.
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": "fetch"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | Id from search, '<source>:<key>'. | |
| max_tokens | No | Result budget in tokens (default 2000). |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||