update_assumption
Update threat model assumptions by modifying description, category, impact, or rationale. Supports batch updates using the items parameter.
Instructions
Update an existing assumption. Supports batch operations via the 'items' parameter.
For single item: provide id and fields to update directly. For batch: provide a list of assumption dicts in the 'items' parameter (each must include 'id').
Args: ctx: MCP context for logging and error handling id: ID of the assumption to update (required for single item mode) description: New description of the assumption category: New category of the assumption impact: New impact of the assumption rationale: New rationale for the assumption items: Optional list of assumption dicts for batch update
Returns: A confirmation message
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "update_assumption"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | No | ID of the assumption to update (required for single item mode) | |
| items | No | Optional list of assumptions to update in batch. Each dict must contain 'id' and any fields to update. When provided, individual parameters are ignored. | |
| impact | No | New impact of the assumption | |
| category | No | New category of the assumption | |
| rationale | No | New rationale for the assumption | |
| description | No | New description of the assumption |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |