# veryfront__update_schedule

Change the fields of a schedule, or pause and resume it with the status, where an omitted field keeps its value; returns the updated schedule. Requires project.runs.write.

Risk: mutating.

## Arguments

| Name                            | Type    | Required | Description                                                                  |
| ------------------------------- | ------- | -------- | ---------------------------------------------------------------------------- |
| `project_reference`             | string  |          | Project ID or slug that owns the schedule.                                   |
| `schedule_id`                   | string  | Yes      | Schedule ID.                                                                 |
| `name`                          | string  |          | Human-readable schedule name.                                                |
| `target`                        | object  |          | Typed schedule target.                                                       |
| `schedule`                      | string  |          | Schedule expression, for example a cron expression.                          |
| `timezone`                      | string  |          | IANA timezone used to evaluate the schedule.                                 |
| `runtime_target_kind`           | string  |          | Runtime target kind for scheduled runs.                                      |
| `runtime_target_environment_id` |         |          | Environment ID when runtime\_target\_kind is environment.                    |
| `runtime_target_branch_id`      |         |          | Branch ID when runtime\_target\_kind is preview\_branch.                     |
| `config`                        | object  |          | Run configuration. For agent schedules, put the run prompt in config.prompt. |
| `timeout_seconds`               | integer |          | Per-run timeout in seconds.                                                  |
| `backoff_limit`                 | integer |          | Retry backoff limit for failed scheduled runs.                               |
| `concurrency_policy`            | string  |          | How overlapping scheduled runs are handled.                                  |
| `max_runs`                      |         |          | Optional maximum number of scheduled runs.                                   |
| `status`                        | string  |          | Updated schedule status.                                                     |

## Call it

```json
{
  "jsonrpc": "2.0",
  "id": 1,
  "method": "tools/call",
  "params": {
    "name": "veryfront__update_schedule",
    "arguments": {
      "schedule_id": "<schedule_id>"
    }
  }
}
```
