search_documents
Search for documents in Elasticsearch/OpenSearch clusters by specifying an index and query body to retrieve relevant data.
Instructions
Search for documents.
Args:
index: Name of the index
body: Search query
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>",
"body": "<body>"
},
"name": "search_documents"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| index | Yes | ||
| body | Yes |