es_get_doc
Retrieve a specific document from an Elasticsearch index by providing its ID. Supports optional connection configuration for multiple Elasticsearch instances.
Instructions
Get a document by id from an index.
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": "es_get_doc"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | ||
| index | Yes | Index name. | |
| connectionId | No | Id of the elasticsearch connection to use, from databases.config.yml. Optional when only one elasticsearch connection is configured. |