ha_file_exists
Check if a file or directory exists on the Home Assistant server. Specify path relative to /config/.
Instructions
Check if a file or directory exists on the Home Assistant server. Path is relative to /config/.
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_file_exists"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | Yes | Path relative to /config/. Example: 'www/mirror.html' |