get_document
Fetch a document from an Elasticsearch index by its ID. Returns the document source or a not found error.
Instructions
Get a document by ID.
Args: index: Index containing the document. doc_id: Document ID.
Returns: Document source data or not found error.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| index | Yes | ||
| doc_id | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||