Discard Control Build
discard_control_buildDiscard a held control build to release its threat model, drop staged changes, keep published controls, and repropose the build for later. Running builds must be paused first.
Instructions
Discard a model's held control build. Mutating.
A build that is queued, deferred, paused or blocked holds
the model without running. Discarding it drops everything it staged — the
model keeps its published controls exactly as they were — releases the
model, and proposes the build again so it can be started later. The
credits it already consumed are not returned. A running build must be
paused first (pause_control_generation, then wait for paused).
Returns one of:
{discarded: true, model_id, status: "discarded", proposal, status_detail}.{discarded: false, http_status: 409, code: "pause_first", status}— the build is running; pause it first.{discarded: false, http_status: 409, code: "not_held", status}— no build holds the model.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"server_version": "<server_version>",
"model_id": "<model_id>"
},
"name": "discard_control_build"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| model_id | Yes | ID of the threat model whose held build to discard. | |
| server_version | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||