analyze_architectural_boundaries
Parses TypeScript/TSX dependencies and maps them to C4 Context, Container, or Component boundaries, returning source evidence and diagnostics to reveal architectural violations.
Instructions
Locally parses TypeScript/TSX dependencies with source evidence, inferred or declared C4 mappings, and diagnostics. Save a graph and return a summary to keep the response small.
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": {
"targetDir": "<targetDir>",
"c4Level": "<c4Level>"
},
"name": "analyze_architectural_boundaries"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| c4Level | Yes | ||
| targetDir | Yes | Directory to scan | |
| configPath | No | Explicit JSON boundary configuration path | |
| outputPath | No | Save canonical versioned graph JSON | |
| responseMode | No | graph | |
| tsconfigPath | No | TypeScript resolution configuration; read as data |