Run a job
run_taskRuns one of the app's scheduled jobs from its while.yaml now, without waiting for its time: the app's code, in its environment; while runs nothing else.
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": {
"task": "<task>"
},
"name": "run_task"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| env | No | Extra variables for this run only. | |
| args | No | Arguments appended to the command, for example ["--since", "2026-10-12"]. | |
| task | Yes | Name of the task (crons[].name). | |
| wait | No | true: answers once done. | |
| project | No | The project. | |
| catch_up | No | Period to catch up: the run is counted "catch_up" and receives it as variables. | |
| approval_id | No | Approval granted, if the organization requires one for a task in production. | |
| environment | No | Production or a preview. | production |
| timeout_seconds | No | Longest wait, in seconds. |