ark_job_get
Return a background job’s status and, once finished, the target tool’s full result.
Poll no faster than poll_after_ms. Provider task IDs appear inside the result, distinct from job_id.
| Requirement | Value |
|---|---|
| Registration | Always registered; no provider credentials required. |
| Execution | Foreground only |
| Required permission | No fixed per-tool scope; HTTP authentication and target-tool authorization still apply. |
This site lists the full configured capability surface, not the tools enabled on your particular server. Use model discovery and job discovery to check your connection. Credentials are server configuration, never tool arguments.
Ask your connected AI client to use ark_job_get for the operation you want.
The client constructs the arguments and handles tool calls. Review its proposed
operation before approving anything billable. For a non-billable introduction,
start with discovery without generation.
Call this tool directly. It is not a background-job target.
Exact MCP call (for developers)
The following is an MCP tool-call envelope, not a shell command. Example media URLs and identifiers must be replaced with your own accessible resources. Seedream and Seedance examples are non-billable dry runs; other provider operations may incur charges.
{ "name": "ark_job_get", "arguments": { "input": { "job_id": "example-job-id-replace-me" } }}Inputs
Section titled “Inputs”The MCP arguments object wraps these fields as {"input": {...}}.
| Field | Type | Required | Description and constraints |
|---|---|---|---|
job_id |
string | Yes | job_id returned by ark_job_submit (not a provider task ID).; minLength: 20; maxLength: 128; pattern: ”^[A-Za-z0-9_-]+$” |
Outputs
Section titled “Outputs”| Field | Type | Required | Description and constraints |
|---|---|---|---|
created_at |
string | Yes | ISO-8601 timestamp when the job was created.; format: “date-time” |
error |
BackgroundJobError or null | No | Task execution error or unsupported input-required state, when present.; Default: null |
job_id |
string | Yes | Server-generated Ark background job ID.; minLength: 20; maxLength: 128; pattern: ”^[A-Za-z0-9_-]+$” |
poll_after_ms |
integer | Yes | Recommended delay in milliseconds before the next poll.; minimum: 0 |
result |
BackgroundJobToolResult or null | No | Original target-tool result when the job completed.; Default: null |
status |
“working”, “input_required”, “completed”, “failed”, “cancelled” | Yes | Current job state. |
ttl_ms |
integer or null | Yes | Configured result retention duration in milliseconds, or null when unlimited. |
updated_at |
string | Yes | ISO-8601 timestamp of the latest observed job state.; format: “date-time” |
Nested Types
Section titled “Nested Types”Field types named above refer to these shared definitions. Optional/null fields, enum choices and bounds are retained in the complete schemas below. Schema validation is followed by runtime capability and security checks.
BackgroundJobIdInput
| Field | Type | Required | Description and constraints |
|---|---|---|---|
job_id |
string | Yes | job_id returned by ark_job_submit (not a provider task ID).; minLength: 20; maxLength: 128; pattern: ”^[A-Za-z0-9_-]+$” |
Complete JSON Schemas
Section titled “Complete JSON Schemas”Input schema, including the MCP wrapper
{ "$defs": { "BackgroundJobIdInput": { "description": "Input model for Ark background job retrieval and cancellation.", "properties": { "job_id": { "description": "job_id returned by ark_job_submit (not a provider task ID).", "maxLength": 128, "minLength": 20, "pattern": "^[A-Za-z0-9_-]+$", "type": "string" } }, "required": [ "job_id" ], "type": "object" } }, "additionalProperties": false, "properties": { "input": { "$ref": "#/$defs/BackgroundJobIdInput" } }, "required": [ "input" ], "type": "object"}Output schema, including nested definitions
{ "$defs": { "BackgroundJobError": { "description": "Error details for a failed or unsupported background job state.", "properties": { "code": { "description": "JSON-RPC-compatible error code.", "title": "Code", "type": "integer" }, "data": { "anyOf": [ { "$ref": "#/$defs/JsonValue" }, { "type": "null" } ], "default": null, "description": "Optional structured error details supplied by the task backend." }, "message": { "description": "Human-readable error message.", "title": "Message", "type": "string" } }, "required": [ "code", "message" ], "title": "BackgroundJobError", "type": "object" }, "BackgroundJobToolResult": { "description": "Original MCP tool result returned by a completed background job.", "properties": { "content": { "description": "MCP content blocks returned by the target tool.", "items": { "$ref": "#/$defs/JsonValue" }, "title": "Content", "type": "array" }, "is_error": { "default": false, "description": "Whether the completed target tool returned an MCP tool error result.", "title": "Is Error", "type": "boolean" }, "meta": { "anyOf": [ { "additionalProperties": { "$ref": "#/$defs/JsonValue" }, "type": "object" }, { "type": "null" } ], "default": null, "description": "Optional MCP result metadata returned by the target tool.", "title": "Meta" }, "structured_content": { "anyOf": [ { "additionalProperties": { "$ref": "#/$defs/JsonValue" }, "type": "object" }, { "type": "null" } ], "default": null, "description": "Structured output returned by the target tool, when available.", "title": "Structured Content" } }, "title": "BackgroundJobToolResult", "type": "object" }, "JsonValue": {} }, "description": "Current state and optional terminal result for a background job.", "properties": { "created_at": { "description": "ISO-8601 timestamp when the job was created.", "format": "date-time", "title": "Created At", "type": "string" }, "error": { "anyOf": [ { "$ref": "#/$defs/BackgroundJobError" }, { "type": "null" } ], "default": null, "description": "Task execution error or unsupported input-required state, when present." }, "job_id": { "description": "Server-generated Ark background job ID.", "maxLength": 128, "minLength": 20, "pattern": "^[A-Za-z0-9_-]+$", "title": "Job Id", "type": "string" }, "poll_after_ms": { "description": "Recommended delay in milliseconds before the next poll.", "minimum": 0, "title": "Poll After Ms", "type": "integer" }, "result": { "anyOf": [ { "$ref": "#/$defs/BackgroundJobToolResult" }, { "type": "null" } ], "default": null, "description": "Original target-tool result when the job completed." }, "status": { "description": "Current job state.", "enum": [ "working", "input_required", "completed", "failed", "cancelled" ], "title": "Status", "type": "string" }, "ttl_ms": { "anyOf": [ { "minimum": 0, "type": "integer" }, { "type": "null" } ], "description": "Configured result retention duration in milliseconds, or null when unlimited.", "title": "Ttl Ms" }, "updated_at": { "description": "ISO-8601 timestamp of the latest observed job state.", "format": "date-time", "title": "Updated At", "type": "string" } }, "required": [ "job_id", "status", "created_at", "updated_at", "ttl_ms", "poll_after_ms" ], "title": "BackgroundJobSnapshot", "type": "object"}Troubleshooting
Section titled “Troubleshooting”- Missing tool: check provider credentials and feature flags, then restart the connection.
- Invalid arguments: keep the correct wrapper and follow current model limits from discovery. A valid schema alone does not prove the chosen model supports the combination.
- A job completes with an error: inspect the original tool result, not only the outer job status. Never automatically resubmit potentially billable work.
- Local output writes from jobs require server-configured
OUTPUT_ROOTS; HTTP cannot write to a client’s local disk.
See configuration, background execution, and artifact delivery.