power_action
Control individual outlets on DLI Web Power Switches by turning them on, off, or cycling power, with optional confirmation to prevent unintended operations.
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": {
"switch_id": "<switch_id>",
"outlet_id": "<outlet_id>",
"action": "<action>"
},
"name": "power_action"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| switch_id | Yes | ||
| outlet_id | Yes | ||
| action | Yes | ||
| confirmation | No | NO |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |