Job handle
jobCheck, wait for, list, or cancel long-running Roblox Studio operations by job ID. Get status snapshots with progress and results, block until completion, or stop a job at its next yield boundary.
Instructions
Track long operations that returned {job_id, status:'running'}. status {job_id} → {status: running|done|error, op, dm, elapsed_ms, progress, notes, hub_connected, result?, error?}. wait {job_id, wait_ms ≤ 50000} blocks until the job finishes or the wait elapses, then returns the same snapshot. list → {jobs:[…]} running first, then recent ones (find an id you lost). cancel {job_id} asks Studio to stop the program at its next S.yield()/slice boundary and rolls back an edit-DM recording; the job then finishes with error.code 'cancelled'. Jobs survive a Studio reconnect (hub_connected false while it is away) and end at their deadline. Finished jobs expire 10 minutes after completion.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| action | Yes | ||
| job_id | No | The job handle returned by a running tool call (status/cancel/wait) | |
| wait_ms | No | wait: max time to block (default 25000, max 50000) |