add_view
Add a new view to a Home Assistant dashboard with configurable title, path, position, and a dry-run preview option to avoid mistakes.
Instructions
Add a new view to a dashboard (live)
Args: url_path: Dashboard URL path, or None for the default dashboard. view_config: The view config dict, e.g. {"title": "Garage", "path": "garage"}. position: Insert index among views (default: append). dry_run: Preview without saving.
Returns:
Save result with a backup_id, or a dry-run preview.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "add_view"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| dry_run | No | ||
| position | No | ||
| url_path | No | ||
| view_config | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |