es_search
Search documents in an Elasticsearch index using query DSL, with options to set result count and offset.
Instructions
Search documents
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>"
},
"name": "es_search"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| from | No | Starting offset (default: 0) | |
| size | No | Number of results to return (default: 10) | |
| index | Yes | Index name or pattern | |
| query | No | Search query DSL |