# veryfront__create_schedule

Create a recurring schedule that starts a task, a workflow or an agent on a cron expression, or, on REST and GraphQL only, activate a schedule declared in source (the MCP tool creates manual schedules only); returns the schedule: a new schedule is active, and a source schedule that was activated before keeps its current status. Requires project.runs.write.

Risk: mutating.

## Arguments

| Name                            | Type    | Required | Description                                                                  |
| ------------------------------- | ------- | -------- | ---------------------------------------------------------------------------- |
| `project_reference`             | string  |          | Project ID or slug that owns the schedule.                                   |
| `name`                          | string  | Yes      | Human-readable schedule name.                                                |
| `target`                        | object  | Yes      | Typed schedule target.                                                       |
| `schedule`                      | string  | Yes      | Schedule expression, for example a cron expression.                          |
| `timezone`                      | string  |          | IANA timezone used to evaluate the schedule. Defaults to UTC.                |
| `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.                                   |

## Call it

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