Delete Program
delete_programDelete a watering program by its ID to remove unwanted schedules from your OpenSprinkler controller. Use this action to clean up outdated programs and keep your irrigation schedule organized.
Instructions
Delete an existing watering program by ID
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": {
"pid": "<pid>"
},
"name": "delete_program"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| pid | Yes | Program ID to delete (0-based index from get_programs) |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |