Get a document by id
get_documentRetrieve a single document from an Elasticsearch index by its _id. Returns a clear absence response when the document does not exist.
Instructions
Fetch one document by its _id. Reports that it is absent rather than failing.
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": {
"index": "<index>",
"id": "<id>"
},
"name": "get_document"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | Document _id | |
| index | Yes | Index holding the document |