Add Esql Xy Panel
add_esql_xy_panelAdds an ES|QL bar, line, or area chart panel to an existing Kibana dashboard using an x column, one or more y columns, and an optional breakdown column.
Instructions
Add an ES|QL bar/line/area panel to an existing dashboard:
x_column on the x axis, each of y_columns a plotted series, and an
optional breakdown_column to split each series. esql is the query.
It is NOT validated server-side — a wrong query or column name yields
an empty panel. For field-based charts use add_panel with a VizSpec.
dashboard_id comes from search_dashboards.
space targets a Kibana space by id (default: the default space).
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": {
"dashboard_id": "<dashboard_id>",
"title": "<title>",
"esql": "<esql>",
"x_column": "<x_column>",
"y_columns": "<y_columns>"
},
"name": "add_esql_xy_panel"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| esql | Yes | ||
| space | No | ||
| title | Yes | ||
| x_column | Yes | ||
| y_columns | Yes | ||
| chart_type | No | bar | |
| dashboard_id | Yes | ||
| breakdown_column | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||