update_trust_zone
Update existing trust zones in a threat model, individually or in batch, by specifying new names, trust levels, or descriptions.
Instructions
Update an existing trust zone. Supports batch operations via the 'items' parameter.
This tool updates one or more existing trust zones in the system architecture. For single item: provide id and fields to update directly. For batch: provide a list of trust zone dicts in the 'items' parameter (each must include 'id').
Args: ctx: MCP context for logging and error handling id: ID of the trust zone to update (required for single item mode) name: New name of the trust zone trust_level: New trust level of the zone description: New description of the trust zone items: Optional list of trust zone dicts for batch update
Returns: A confirmation message
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | No | ID of the trust zone to update (required for single item mode) | |
| name | No | New name of the trust zone | |
| items | No | Optional list of trust zones to update in batch. Each dict must contain 'id' and any fields to update. When provided, individual parameters are ignored. | |
| description | No | New description of the trust zone | |
| trust_level | No | New trust level of the zone |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |