Set Default Data View
set_default_data_viewSet a data view as the default for a Kibana space, replacing the current default; pass null to clear it.
Instructions
Make a data view the space's default — the one Discover and other
Kibana apps open with — by id (from list_data_views), or pass
view_id=null to clear the default. The view must exist in the space
(Kibana itself would store any id). Replaces the current default;
returns the new one (id, name, index_pattern, exists), previous_id,
the default before the call (null when none was set), and
previous_exists: pass previous_id back to undo when it is true; when
it is false the old id named no data view (Kibana keeps a deleted
view's id, and treats it as no default), so view_id=null undoes it.
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": {
"view_id": "<view_id>"
},
"name": "set_default_data_view"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| space | No | ||
| view_id | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||