add_card
Add a card to a Home Assistant dashboard view. Specify the target view, section, and position, and preview the change with a dry run before saving.
Instructions
Add a card to a dashboard view (live)
Args:
url_path: Dashboard URL path, or None for the default dashboard.
view: Target view — an integer index, or a string matching the view's
path or title.
card: The card config dict (must include a string type), e.g.
{"type": "markdown", "content": "Hello"}.
position: Insert index within the target card list (default: append).
section: For a "sections"-type view, which section to add into — an
index, section title, or heading text. REQUIRED for sections
views (use list_view_sections to see them); omit for classic
views.
dry_run: Preview without saving.
Returns:
Save result with a backup_id, or a dry-run preview.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| card | No | ||
| view | No | ||
| dry_run | No | ||
| section | No | ||
| position | No | ||
| url_path | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |