edit_assumption
Update an existing threat model assumption's description, linked controls, or exclusion predicate. Creates a new model version automatically.
Instructions
Edit an assumption. Creates a new model version.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| model_id | Yes | ID of the threat model. | |
| description | No | New description (omit to leave unchanged). | |
| assumption_id | Yes | ID of the assumption to edit (e.g., "AS1"). | |
| linked_co_ids | No | New comma-separated CO IDs; replaces the existing linkage (omit to leave unchanged). | |
| server_version | Yes | ||
| clear_exclusion | No | When True, removes the predicate entirely (the assumption becomes prose-only). Mutually exclusive with the exclusion_* params — if both are sent, the exclusion_* params win. | |
| exclusion_co_ids | No | Comma-separated CO IDs the predicate matches explicitly; when non-empty, overrides the match fields. Supplying any exclusion_* param rewrites the whole predicate (unspecified fields default to "*"). | |
| exclusion_asset_id | No | "*" or a concrete asset ID. | |
| exclusion_attacker_id | No | Predicate match — "*" wildcard or a concrete attacker ID. | |
| exclusion_property_match | No | "C" | "I" | "A" | "U" | "*". | |
| exclusion_attacker_vector | No | One of "Network" | "Adjacent" | "Local" | "Physical" | "*". | |
| exclusion_asset_component_id | No | "*" or a concrete component ID. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||