Get document
get_documentGet one public document card, with its schema.org node, by the id that search_documents returns. A document that does not exist or is not published for this website returns the same not-found answer.
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_document"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | The document id. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| items | Yes | The documents, each as a card. | |
| message | No | Why there are no documents, in plain words, when there are none. | |
| available | Yes | False when the documents cannot be read now (reasonCode says why); true for every other answer, one with no documents included. | |
| reasonCode | Yes | A stable code that says why the documents cannot be read, and an empty string when they can. | |
| schemaVersion | Yes | The version of the shape of this answer: 1. |