Create pipeline schedule
create_pipeline_scheduleCreate a cron schedule that starts a connected repository's Ankra pipeline. cron is a five-field expression evaluated in timezone (default UTC); ref is the branch or tag it runs at; inputs are the pipeline's on.manual.inputs. A schedule is created enabled unless enabled is false. Refused for a repository connected for Workspaces only. Address the repository with exactly one of repository_id, application_id, or owner and repo. Needs pipelines.manage.
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": {
"cron": "<cron>"
},
"name": "create_pipeline_schedule"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ref | No | Branch or tag the scheduled runs run at. | |
| cron | Yes | Five-field cron expression, for example 0 3 * * *. | |
| repo | No | Repository name, with owner. | |
| owner | No | Repository owner (organisation or user), with repo, instead of repository_id. | |
| inputs | No | Dispatch inputs by name, as the pipeline's on.manual.inputs declares them; every value is a string. | |
| enabled | No | false creates it disabled (default true). | |
| provider | No | Narrows owner and repo when the same repository is connected on two providers. | |
| timezone | No | IANA timezone the expression is read in (default UTC). | |
| repository_id | No | The connected repository's id, from list_pipeline_repositories. | |
| application_id | No | An application whose linked repository to address, instead of repository_id. |