ha_update_script
Update an existing Home Assistant script by modifying its configuration. Provide the script ID and new config to overwrite current settings.
Instructions
Update an existing script's configuration
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": {
"object_id": "<object_id>",
"config": "<config>"
},
"name": "ha_update_script"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| object_id | Yes | The script ID to update | |
| config | Yes | Updated script config (same format as create) |