Get Job
smi_get_jobReads the status of an SMI background job. Use it with the jobId that smi_submit_deep_reports, smi_submit_exports, smi_create_deep_report or smi_create_export return when a large batch is still running, to read its outcome. Returns status (pending | processing | completed | failed), a terminal flag, and failedIds with an error when the job failed. While a batch submission job is pending or processing, poll with bounded attempts and backoff, and stop as soon as terminal is true. A release job (type deep_report_release or export_release) stays pending until that report is released, which can take days: do not poll it in a loop. Tell the user they will be notified when the report is released.
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": {
"jobId": "<jobId>"
},
"name": "smi_get_job"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| jobId | Yes | Job id returned by smi_submit_deep_reports, smi_submit_exports, smi_create_deep_report or smi_create_export (the batch job id or one of the per-report release job ids). |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| type | Yes | ||
| error | Yes | ||
| jobId | Yes | ||
| result | Yes | ||
| status | Yes | ||
| terminal | Yes | ||
| failedIds | Yes | ||
| webhookStatus | Yes |