ha_upload_file
Upload files from your local machine to your Home Assistant server, placing them in safe directories like www/, custom_components/, blueprints/, or themes/.
Instructions
Upload a file from the local machine to the Home Assistant server. Remote path is relative to /config/. Restricted to safe directories (www/, custom_components/, blueprints/, themes/).
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"local_path": "<local_path>",
"remote_path": "<remote_path>"
},
"name": "ha_upload_file"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| local_path | Yes | Absolute path to the file on the local machine | |
| remote_path | Yes | Destination path on HA relative to /config/. Example: 'www/mirror.html' |