add_conn_to_crossing
Add connections to crossing points in threat models. Use single or batch mode to pair connection IDs with crossing point IDs.
Instructions
Add a connection to a crossing point. Supports batch operations via the 'items' parameter.
This tool adds one or more connections to crossing points in the system architecture. For single item: provide crossing_point_id and connection_id directly. For batch: provide a list of dicts in the 'items' parameter.
Args: ctx: MCP context for logging and error handling crossing_point_id: ID of the crossing point (required for single item mode) connection_id: ID of the connection to add (required for single item mode) items: Optional list of crossing-point-connection pair dicts for batch operation
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": "add_conn_to_crossing"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| items | No | Optional list of crossing-point-connection pairs to add in batch. Each dict should contain 'crossing_point_id' and 'connection_id'. When provided, individual parameters are ignored. | |
| connection_id | No | ID of the connection to add (required for single item mode) | |
| crossing_point_id | No | ID of the crossing point (required for single item mode) |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |