get_document
Retrieve a single Elasticsearch document by its ID from a specified index or pattern, enabling quick inspection of individual log entries during analysis.
Instructions
Fetch a single document by its ID. Searches across the given index pattern.
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 name or pattern |