Delete a cron job
delete_cronDelete a scheduled cron job from a Woodpecker CI repository. Use the returned confirmation token to complete the two-step removal.
Instructions
Removes a scheduled run. If you only want it to stop for now, update_cron with enabled=false keeps the definition. Two-step.
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": {
"repo_id": "<repo_id>",
"cron_id": "<cron_id>"
},
"name": "delete_cron"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| cron_id | Yes | Numeric cron job id. | |
| repo_id | Yes | Numeric repository id. lookup_repository turns an "owner/name" pair into one; list_repositories shows both. | |
| confirm_token | No | Token from a previous call of this tool. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| truncated | No | Present only when the answer was shortened to fit the budget. |