esql_query
Execute ES|QL queries to filter, transform, and aggregate Elasticsearch data for analysis. Use this tool to process and analyze data with Elasticsearch's piped query language.
Instructions
Execute an ES|QL query for data analysis. ES|QL is a piped query language for filtering, transforming, and aggregating data.
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": {
"query": "<query>"
},
"name": "esql_query"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| query | Yes | ES|QL query string | |
| format | No | Response format |