ha_create_script
Create a new script in Home Assistant by providing a unique ID and configuration including alias, sequence, and optional settings like mode, description, icon, and fields.
Instructions
Create a new script in Home Assistant
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_create_script"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| object_id | Yes | Unique script ID (e.g. 'morning_routine') | |
| config | Yes | Script config. Must include: alias, sequence. Optional: mode, description, icon, fields. |