Regenerate Behavioural Model
regenerate_behavioural_modelCompare a threat model's behavioural model against its description with an independent reading, then estimate or queue the paid regeneration after confirmation.
Instructions
Check a model's behavioural model against its description with an
independent reading. Mutating only with confirm_estimate=True; a paid
action then.
A regeneration reads the description and every answer that stands afresh,
shown nothing of the model, and compares that reading with the model part
by part. It writes nothing to the model: each difference is listed against
the answer that settled the part, or asked as a question (answer those
with answer_behavioural_questions). It is paid for by whoever requests
it (or by Mipiti, where it says so): the estimate is RELAYED TO THE PERSON
before it is confirmed. Never confirm on your own.
Ask for one after a substantial amendment of the description (a new
capability, a changed flow, a paragraph of new text), once for the
amendments together, and before generating controls or certifying when
get_behavioural_model reports regeneration_owed with several
amendments or much changed text. Small wording fixes wait.
Call with
confirm_estimate=False(the default): nothing is charged or written. The answer carries theestimate(credits), who it is billed to, themodel_versionit is for and the last regeneration (last). Show it to the person.Once they agree, call with
confirm_estimate=Trueand thatmodel_version. It is queued: follow it withget_behavioural_model(view="status")untilextraction.jobis null.
Refusals come back as data, {confirmed: false, http_status, code, message}: 409 review_stale (the model changed: estimate again), 409
extraction_running (poll it), 409 no_behavioural_model, 402 (the
balance cannot cover it). A 404: the caller may not start paid actions
here. A program's regeneration over its spending allowance is refused 403
with an escalation_id: do not retry, poll list_proposals.
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": "regenerate_behavioural_model"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| model_id | Yes | ID of the threat model. | |
| model_version | No | With ``confirm_estimate=True``: the estimate's value. | |
| server_version | Yes | ||
| confirm_estimate | No | False (default) estimates; True queues it. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||