Check or Download PrivaTools Job
privatools_job_statusPoll an asynchronous job's status or download its completed artifact to a file path. Read-only checks; cancel or delete jobs separately.
Instructions
Poll an asynchronous job's status (action: 'status') or download its completed artifact to output_path (action: 'download'). Read-only on the server — use privatools_delete_job to cancel or delete a job.
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": "privatools_job_status"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| action | No | Read-only action to perform: 'status' (poll) or 'download' (fetch completed artifact). To delete or cancel a job, call privatools_delete_job. | status |
| job_id | Yes | Job ID returned by privatools_submit_job. | |
| download | No | When action is 'status' and the job has succeeded, automatically download the artifact in the same call. | |
| overwrite | No | Allow replacing an existing file at output_path (default false). | |
| output_path | No | Destination file path when downloading a binary artifact (or saving a JSON artifact to disk). |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ok | Yes | ||
| job | No | Asynchronous job record returned by /api/v1/jobs. | |
| data | No | Structured JSON payload returned inline by the PrivaTools API. | |
| bytes | No | ||
| job_id | No | ||
| headers | Yes | Relevant X-* and HTTP response headers returned by PrivaTools. | |
| filename | No | ||
| downloaded | No | ||
| media_type | No | ||
| output_path | No |