List Control Revisions
list_control_revisionsRetrieve the full revision history for a threat model version's controls, including authors, timestamps, affected control IDs, and undo details.
Instructions
List every change to a model version's set of controls. Read-only.
Each write to a version's published controls — a build's publish, an
import, an edit, a deletion, an undo — is a set revision with its author.
Returns {model_id, model_version, latest_version, discarded, revisions, undo_target}; each revision carries revision, job_id (the
build that wrote it, if any), started_by, started_at,
controls (the ids it touched), undo_of (the revision it undid,
for an undo) and undone_by / undone_at. undo_target is the
revision undo_model_change(target="controls") would undo (null when none, and for any
version but the latest). discarded is true for a version a revert
replaced.
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": "list_control_revisions"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| version | No | Model version to read (0 = the latest live version). | |
| model_id | Yes | ID of the threat model. | |
| server_version | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||