card_builder_upload_media
Upload files to the Card Builder media directory for use in Home Assistant cards. Provide a filename and base64-encoded content to get a media reference and local URL.
Instructions
Upload a file to the Card Builder media directory.
content_base64 must be the raw bytes already base64-encoded. Returns the
cb-media:// reference plus a /local/... URL usable in any card.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| filename | Yes | ||
| content_base64 | Yes | ||
| path | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||