Resume Control Generation
resume_control_generationResume a paused control generation run or retry one blocked by unavailable dependencies for a threat model, then poll status until complete.
Instructions
Resume control generation that was paused, or retry one that stopped before finishing. Mutating.
Use when get_control_generation_status returns status: "paused"
(someone paused it) or status: "blocked" (blocked.code
dependency_unavailable or analysis_incomplete). A paused run
resumes at once. For a blocked one the platform checks the services it
depends on first, so a retry while one is still down costs nothing and
changes nothing.
Returns one of:
{resumed: true, status: "queued", status_detail}— the run resumes where it stopped (only the unfinished work, billed to the original generation). Pollget_control_generation_statusuntilcomplete.{resumed: false, http_status: 409, code: "pause_in_progress"}— the run is still stopping after a pause; resume once it showspaused.{resumed: false, http_status: 503, code: "dependency_unavailable", message, retry_after_seconds, ...}— still unavailable; relay the message and try again afterretry_after_seconds.{resumed: false, http_status: 409, code: "retry_too_soon", retry_after_seconds, ...}— a retry was just tried; wait.{resumed: false, http_status: 409, code: "not_blocked", status}— nothing is paused; readstatus.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| model_id | Yes | ID of the threat model whose paused control generation to resume. | |
| server_version | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||