get_job_status
Returns the state and, once finished, the result of a background job started by backtest_my_signals, simulate_policy or import_tradingview_backtest.
With no argument it lists the user's recent jobs.
`status` is one of: PENDING (queued), RUNNING (in progress - `progress` is a
percentage), DONE (`result` is present), FAILED (a retry is scheduled), DEAD (it will
not be retried - `error` says why) or CANCELLED.
Jobs run one at a time, so `queue_position` tells the user how many are ahead of
theirs.
Storage: only the 20 most recent finished jobs keep their full result. Older ones
are reduced to their summary and come back with `result_pruned: true` — the detailed
rows are gone and the job has to be run again to regenerate them. Everything is
deleted after 30 days. Backtest and policy runs are also written to your account's
backtest history, and the result carries the `run_id` they were stored under.Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "get_job_status"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| job_ref | No | The job_ref returned by backtest_my_signals, simulate_policy or import_tradingview_backtest. Leave empty to list your recent jobs instead. |