check_boundaries
Verify architecture boundaries by listing imports that cross layer rules for a module or all, and report unchecked parts with reasons. Use before reviews or after moving code between layers.
Instructions
Checks the architecture rules and lists the imports that cross one (for example domain importing infrastructure), for one module or for all, then the parts of the repository that could not be checked, with the reason. Use it before a review, or after moving code between layers. A part that was not checked is reported as not checked, never as passing. scope is one module ID to check that module alone; left out, or all, it checks every part. It judges rules only: to see the layers themselves use list_layers, for who depends on a module use list_dependencies, for what an edit reaches use analyze_impact. Returns one line per finding and one per part. A long list stops at 200 items unless all is true.
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": "check_boundaries"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| all | No | List everything instead of stopping at 200 items. | |
| scope | No | Module ID or "all". | all |