shelly_script_eval
Evaluate an expression inside a running Shelly device script and return the stringified result. Requires confirm:true for arbitrary code.
Instructions
Evaluate an expression inside a running script. Arbitrary code → confirm:true.
Returns the stringified result. Audit-logged.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | ||
| code | Yes | ||
| device | Yes | ||
| confirm | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||