get_control_generation_status
Poll the asynchronous control-generation status for a threat model and get progress details like ready vs. target coverage, or errors. This helps know when controls are ready to read.
Instructions
Poll the async control-generation status for a threat model.
When generate_threat_model / refine_threat_model return a
controls_status other than complete, controls are being authored in
the background — poll this until a terminal state, then read the controls.
Return shape: {status, mode, target_cos, ready_cos, error_message, elapsed_seconds} (or {status: "none"} when controls were built inline).
status is queued | generating | deferred | complete | failed | skipped | none:
deferred— today's background-analysis budget is used up; generation resumes automatically at the daily reset (relay this to the user).failed—error_messagesays why (e.g. insufficient credits).ready_cos/target_cos— coverage progress.elapsed_seconds— time since queued; if it staysqueuedwith a large elapsed, generation may not be progressing — surface that instead of polling forever.
Read-only; no side effects (polling does not trigger or alter generation).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| model_id | Yes | ID of the threat model whose control-generation status to poll. | |
| server_version | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||