set_rain_delay
Set a rain delay expiration to pause all sprinkler schedules until a specified time. Cancel an existing delay using '1970-01-01T00:00:00Z'.
Instructions
Set a rain-delay expiration for the device.
The device will not run any schedules until the given time. Pass an
ISO-8601 datetime (2026-05-01T00:00:00Z) or 1970-01-01T00:00:00Z
to cancel an existing delay.
Args: device_id: Controller UUID. expiration: ISO-8601 datetime when the delay expires.
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>",
"expiration": "<expiration>"
},
"name": "set_rain_delay"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| device_id | Yes | ||
| expiration | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |