ha_delete_file
Delete a file from the Home Assistant /config/ directory. Path must be relative and within safe directories.
Instructions
Delete a file from the Home Assistant server. Path is relative to /config/. Restricted to safe directories.
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": {
"path": "<path>"
},
"name": "ha_delete_file"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | Yes | File path relative to /config/. Example: 'www/old-file.html' |