Get product bulk job
get_product_bulk_jobCheck a bulk product job's status and progress by jobId, or find the queued or running job for a model by modelId. Returns processed counts, changes, skips, and failure reasons.
Instructions
Read a background product bulk job's status and progress, by jobId or - for the job still queued or running on a model - by modelId (jobId wins when both are given). status goes queued -> running -> completed or failed; processed of total is the progress, deleted/updated what changed, skippedCount and skipped (first 20, with reason) what a delete left in place. A failed job carries failureReason (stalled, modelUnavailable, invalidPatch, enqueueFailed, unexpected). job is null when the id is unknown or the model has no active job. Jobs run in batches of a few hundred products: check again later rather than in a tight loop.
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_product_bulk_job"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| jobId | No | The job id a start_bulk_*_products tool returned. When given, modelId is ignored. | |
| modelId | No | The product model's id or slug: returns the job still queued or running for it, if any |