Import and validate a blueprint from a URL
blueprints_import_blueprintFetch and validate a Home Assistant blueprint from a URL without saving it. Preview metadata and errors before deciding to persist.
Instructions
Fetch a blueprint from a URL and validate it without saving it.
Calls the blueprint/import WebSocket command, which has Home Assistant
download url and validate its YAML. This only downloads and
validates — it does NOT save anything to disk.
Use when: previewing a blueprint (its metadata and validation errors)
before deciding to persist it.
Not for: persisting the fetched blueprint — pass its raw_data and
suggested_filename to blueprints_save_blueprint.
Returns: dict with suggested_filename, raw_data (the blueprint YAML
text), blueprint.metadata, validation_errors and exists (whether a
blueprint already sits at that path).
Limits: blocks for the WebSocket round trip plus the remote download
time; the default 10 second response wait in ha._ws_call applies.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| url | Yes | HTTP(S) URL to fetch the blueprint YAML from, e.g. a GitHub raw file link or a community forum export link. | |
| domain | No | Blueprint domain the fetched blueprint belongs to, 'automation' or 'script'. Defaults to 'automation'. | automation |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||