# set\_schedule\_enabled

Enable or disable a schedule.

writes · idempotent · MCP tool · [Schedule](https://komrad.dev/latest/api/schedule.md)

## Calling it

```bash
curl -X POST http://127.0.0.1:8787/komrad.schedule.v1.ScheduleService/SetScheduleEnabled \
  -H 'Content-Type: application/json' \
  -d '{
  "id": "<id>"
}'
```

```bash
komrad rpc set-schedule-enabled \
  --id '<uuid>'
```

```json
{
  "name": "set_schedule_enabled",
  "arguments": {
    "id": "<id>"
  }
}
```

Offered by the komrad MCP server to orchestrator agents.

## Request

### SetScheduleEnabledRequest

| Field | Type | Description |
| --- | --- | --- |
| [`id`](https://komrad.dev/latest/api/schedule/set-schedule-enabled.md#komrad-schedule-v1-SetScheduleEnabledRequest-id) | uuid\* | The schedule to enable or disable, by id. |
| [`enabled`](https://komrad.dev/latest/api/schedule/set-schedule-enabled.md#komrad-schedule-v1-SetScheduleEnabledRequest-enabled) | bool | Whether the schedule is enabled. False keeps the schedule's record and runs. |

## Response

### Empty

No fields.
