get_document
Need a specific document? Get it by ID from any Elasticsearch index with just the index name and document ID.
Instructions
Retrieve a specific document from Elasticsearch index by document ID
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>",
"doc_id": "<doc_id>"
},
"name": "get_document"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| index | Yes | Name of the Elasticsearch index containing the document | |
| doc_id | Yes | Document ID to retrieve from the index |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |