List Dashboard Resources
ha_config_list_dashboard_resourcesList Lovelace dashboard resources, including custom cards, themes, CSS and JS, with pagination and optional content or hash details for managing and verifying updates.
Instructions
List Lovelace dashboard resources (custom cards, themes, CSS/JS).
Returns one page of registered resources; total_count and has_more
report the full set, and inline_count and by_type summarise every
resource, not just this page. Each resource has a unique ID for
update/delete operations. For inline resources (created with
ha_config_set_dashboard_resource(content=...)), shows a preview of the
content instead of the full encoded URL to save tokens.
resource_mode is Core's lovelace resource mode; in 'yaml' mode
resources cannot be created, updated or deleted through the API.
EXAMPLES:
Next page: ha_config_list_dashboard_resources(offset=100)
List with full content: ha_config_list_dashboard_resources(include_content=True)
Verify an edit by hash: ha_config_list_dashboard_resources(include_hash=True)
Home Assistant 2026.6+ exposes resource management in the UI by default; API access works regardless of UI availability.
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": "ha_config_list_dashboard_resources"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | Max resources to return per page | |
| offset | No | Number of resources to skip for pagination | |
| include_hash | No | Add "_config_hash" (SHA-256 hex digest of the decoded UTF-8 content) to each inline resource, e.g. to verify an edit or to pass as config_hash without fetching the content. | |
| include_content | No | Include full decoded content for inline resources in the "_content" field. When False, a 150-char preview is shown instead. Rows past the per-response content budget carry '_content_truncated': True instead of '_content'; request a smaller page before copying content into an update. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||