Start Control Build
start_control_buildStarts a proposed control build for a threat model after confirming its credit estimate; optionally strengthens the draft within the stated cap and returns a job to poll.
Instructions
Start the model's proposed control build, or part of it. Mutating
only with confirm_estimate=True; consumes credits then.
Generating or refining the model, editing an entity and
regenerate_controls each PROPOSE a build (shown as proposal by
get_control_generation_status); only this starts one. Its review
also proposes every objective in scope with no control.
confirm_estimate=False(default): nothing starts or is charged; returns{started: false, proposal, message}with a freshestimated_creditsand themodel_version,set_revisionandscope_revisionto name. Show the user what it builds and costs.confirm_estimate=Truewith those three values: the build starts ({started: true, job_id}) and holds the model until it publishes, fails or is discarded. Pollget_control_generation_statusuntilterminal, thenget_controls.
objective_ids on both calls builds only those of the objectives
proposed, keeps every other objective's controls and leaves the rest
proposed.
strengthen=True on both calls also strengthens: the estimate adds a
strengthening part (proposal.strengthen: credits, rounds), a cap the
build never passes; it strengthens its finished draft within it and
publishes once. Show the user both parts before confirming.
Refusals come back as data (started: false, http_status,
code): 400 unknown_objectives / not_proposed /
not_divisible (start it whole) / not_strengthenable; 404
no_proposal; 409 review_stale (start with the values returned),
generation_active or strengthening_unavailable; 402 (the balance
cannot cover the estimate).
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": "start_control_build"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| model_id | Yes | ID of the threat model. | |
| strengthen | No | True to strengthen in the same start, within the cap the estimate states. False (the default): the build alone. | |
| set_revision | No | With ``confirm_estimate=True``: the proposal's ``set_revision``. | |
| model_version | No | With ``confirm_estimate=True``: the proposal's ``model_version``. | |
| objective_ids | No | Comma-separated objective IDs (e.g. ``"CO-1,CO-5"``) to build now, of those the proposal would build. Empty (the default): the whole proposal. | |
| scope_revision | No | With ``confirm_estimate=True``: the proposal's ``scope_revision``. | |
| server_version | Yes | ||
| confirm_estimate | No | False (default) returns the proposal and its estimate and starts nothing; True starts the build. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||