Run job now
run_jobExecute a job on demand and retrieve its status and HTTP response to validate functionality.
Instructions
Fire one immediate run of a job and return the captured result.
This is the way to prove a job works: it returns the run's status plus the captured HTTP response (status, headers, body) once it finishes. The job's schedule and enabled state are unchanged.
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": {
"job_id": "<job_id>"
},
"name": "run_job"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| wait | No | Wait for the run to finish and return the captured response (default true). | |
| job_id | Yes | The id of the job to run. | |
| environment | No | Environment to run in. Optional when the job is enabled in exactly one environment; required if it's enabled in several. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||