get_job_status
Track upload_data pipeline job progress and outcomes. Poll by pipeline_token until all jobs finish, then read the rollup status to confirm success, warning, or error before running queries.
Instructions
Get job status for an upload_data submission. Pass pipeline_token (returned from upload_data) for the recommended path. Pass pipeline_name instead for a paginated summary of recent jobs for that pipeline. When queried by pipeline_token, the response is {rollup: {allDone, status, jobs: [...]}, events: [...]} — poll every few seconds until rollup.allDone is true, then read rollup.status (success | warning | error) for the outcome. Per-job detail is in rollup.jobs[] with pipelineToken, pipeline, filename, status, startedAt, lastEventAt, elapsed, and lastError (populated on failure with processName and description). events[] is the raw begin/info/end audit trail; the rollup is the source of truth for completion. A failed run's description gives the error and its causes in plain words; the full stack trace is not included here (it is in the server log under the run's token and in the Ops activity view). When queried by pipeline_name, the response is a paginated array of summary rows; the most recent job is index 0 and its status field is success | processing | error. Do NOT proceed to query/search until the job is in a terminal state.
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 |
|---|---|---|---|
| page | No | Page number for paginated results (default: 1) | |
| pipeline_name | No | Pipeline name to get a paginated summary of recent jobs | |
| pipeline_token | No | Pipeline token returned from upload_data |