shelly_rpc_write
Send mutating RPC commands to Shelly devices with required confirmation and audit logging; destructive operations need an extra data-loss acknowledgment.
Instructions
Call any mutating RPC method. Requires confirm:true; audit-logged.
Read methods are rejected (use shelly_rpc). Destructive methods (factory reset,
wipe-all, reset-wifi) need a second gate: params.i_understand_data_loss = true.
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": {
"device": "<device>",
"method": "<method>"
},
"name": "shelly_rpc_write"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| device | Yes | ||
| method | Yes | ||
| params | No | ||
| confirm | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||