Run HomeMatic Script
run_scriptExecute any HomeMatic Script on the CCU to solve smart-home tasks not covered by standard tools. On protected targets, include confirm:true with every call.
Instructions
Execute arbitrary HomeMatic Script on the CCU. NOT idempotent — will not be auto-retried. Use for anything the other tools don't cover. On a protected target, EVERY call needs confirm:true — the session unlock from other write tools does not apply.
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": {
"script": "<script>"
},
"name": "run_script"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| script | Yes | HomeMatic Script to execute | |
| confirm | No | Required true on EVERY call against a protected CCU target (e.g. prod) — scripts never ride on the session unlock. |