Preview a bounded Lovelace card edit
ha_lovelace_previewPreview changes to a Home Assistant Lovelace card before saving. Apply explicit add/replace/remove operations to see exact before/after and dashboard version without executing or saving.
Instructions
Read-only preview: explicit add/replace/remove operations within ONE existing card (max 65,536 UTF-8 JSON bytes; this is not a guaranteed supported size). The complete MCP preview, including both representations and escaping, must fit 160,000 bytes. Returns full before/after, exact operations, a whole-dashboard version and preview hash. No code execution or saving. Refuses truncated or redacted reviews. The hash is a content identifier, not permission to write.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| cardPath | Yes | ||
| dashboard | Yes | ||
| operations | Yes |