set_device_mode
Change an irrigation device's operating mode to auto or off to control watering schedules.
Instructions
Set device operating mode.
Args:
device_id: Device ID from list_devices.
mode: Operating mode — "auto" or "off".
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_id": "<device_id>",
"mode": "<mode>"
},
"name": "set_device_mode"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| mode | Yes | ||
| device_id | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |