get_document
Retrieve a specific document from an Elasticsearch index using its document ID, enabling targeted access to stored information within the Agent Knowledge MCP server.
Instructions
Retrieve a specific document from Elasticsearch index by document ID
Input Schema
Name | Required | Description | Default |
---|---|---|---|
doc_id | Yes | Document ID to retrieve from the index | |
index | Yes | Name of the Elasticsearch index containing the document |
Input Schema (JSON Schema)
{
"properties": {
"doc_id": {
"description": "Document ID to retrieve from the index",
"title": "Doc Id",
"type": "string"
},
"index": {
"description": "Name of the Elasticsearch index containing the document",
"title": "Index",
"type": "string"
}
},
"required": [
"index",
"doc_id"
],
"type": "object"
}