Run a trigger now
run_triggerStart one run of a trigger now, without waiting for its schedule – e.g. to test it. Works for a trigger paused by its owner or after failures, too. Returns the run with its job ID (or the named sandbox) – the job runs in the background like any other job. Refused while the previous run still runs (concurrency skip) or when the daily price limit would be exceeded.
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": {
"trigger_id": "<trigger_id>"
},
"name": "run_trigger"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| trigger_id | Yes | Trigger ID (trg_…). |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| at | No | When it started (RFC 3339). | |
| id | Yes | Run ID (run_…). | |
| cost | No | Final cost of the run (amount, currency). | |
| error | No | Why it failed or was skipped. | |
| event | Yes | What started it: schedule, webhook or manual. | |
| job_id | No | Job of the run (jobs). | |
| status | Yes | running, completed, failed, cancelled, skipped or rejected. | |
| sandbox_id | No | Named sandbox of the run (sandbox triggers). | |
| scheduled_at | No | Scheduled time it belongs to. |