list_layers
Lists repository modules grouped by architecture layer and shows the rule that placed each module, helping you understand code organization or decide where new code belongs.
Instructions
Lists the modules of the repository grouped by architecture layer, each with the rule that put it there. Use it to see how the code is organized, or where new code belongs. To check the imports between the layers use check_boundaries; for the plain list of files use list_files. Returns one line per layer, then one line per module of that layer with its language and the rule. It takes no name: its one parameter is all. A repository with more than about 200 modules needs all: true: without it the answer stops after 200 lines, in the middle of a layer, and its last line says how many lines are hidden.
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": "list_layers"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| all | No | List everything instead of stopping at 200 items. |