Create Lovelace dashboard
ha_create_dashboardCreate a new storage-mode Lovelace dashboard in Home Assistant, then use ha_save_dashboard to add views and cards. Requires write permissions.
Instructions
Register a new storage-mode Lovelace dashboard. After creating, call ha_save_dashboard to set its views/cards. Requires HA_ALLOW_WRITE=true and HA_ALLOW_CONFIG_WRITE=true.
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": {
"url_path": "<url_path>",
"title": "<title>"
},
"name": "ha_create_dashboard"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| icon | No | MDI icon for the sidebar (e.g. 'mdi:home'). | |
| title | Yes | Sidebar title for the dashboard. | |
| url_path | Yes | URL path slug for the new dashboard (e.g. 'sam-energy'). | |
| instance_id | No | Optional: the instance you mean (as listed by vomehome_list_instances). When given, the call is refused if this session is targeting a different home, instead of answering from it. | |
| require_admin | No | Restrict dashboard to admin users (default false). | |
| show_in_sidebar | No | Show in the sidebar (default true). | |
| allow_single_word | No | Allow a url_path without a hyphen (default false). |