Check Job Status
check_job_statusFull Description
Poll an async move, copy, delete, or restore_folder operation
REQUEST CONTRACT:
- operation_id (required): the opaque token returned by move, copy, delete, or restore_folder.
- wait_ms (optional): wait budget in milliseconds. Omitted or 0 performs one immediate status check. Positive values ask the server to wait briefly for completion. Maximum 30000ms; values >30000 or negative are rejected with INVALID_WAIT_MS.
RESPONSE CONTRACT:
- status: "completed" or "in_progress".
- operation_id: echoed when status="in_progress". Pass it back unchanged for the next poll.
- recommended_poll_after_ms: suggested delay before the next poll.
- When status="completed", result_type and the populated result field are:
- result_type="move" with move_result.
- result_type="copy" with copy_result.
- result_type="delete" with delete_result.
- result_type="restore_folder" with restore_folder_result.
- Successful move, copy, and delete result entries include an object with modified_time, which is the server-side modification time in ISO 8601 format when available.
ASSISTANT POLICY:
- Use this tool only when move, copy, delete, or restore_folder returns an operation_id.
- Do not assume every async Fileverse MCP tool uses check_job_status. Follow the submission tool's polling instructions.
- Pass operation_id back verbatim. Do not alter, truncate, or encode/decode it.
- Respect recommended_poll_after_ms; do not poll in a tight loop.
- When status becomes "completed", read result_type and use the matching result field listed above.
- Follow the submission tool's instructions for operation-specific results, errors, retries, and user-facing guidance.
EXAMPLES:
{"operation_id": "<token from previous in_progress response>"} {"operation_id": "<token>", "wait_ms": 5000}
Parameters (0 required, 2 optional)
operation_idstringwait_msinteger