Get Job Status
get_job_statusCheck the status of a background command by job ID, returning current state and elapsed milliseconds to determine when it finishes.
Instructions
Check on a command started with background=true.
RETURNS status and elapsed milliseconds. Poll this, then call get_job_result once finished is true.
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": "get_job_status"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| job_id | Yes | Job id from execute_experiment. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| job_id | Yes | ||
| status | Yes | ||
| command | Yes | ||
| finished | No | ||
| exit_code | No | ||
| elapsed_ms | Yes | ||
| experiment_id | Yes |