Validate script config
validate_script_configChecks a draft script configuration before saving by running structural and Home Assistant validation and flagging nonexistent entities.
Instructions
Check a draft script config without saving it. Runs a local structural check, asks Home Assistant to validate the sequence through the validate_config WebSocket command, and warns about entities that do not exist.
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": {
"config": "<config>"
},
"name": "validate_script_config"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| config | Yes | The script config to check, as JSON. |