describe_module
Describes a module by ID, path, or keyword, returning its definitions, imports, dependents, and architecture layer to understand code before reading files or find where a feature lives.
Instructions
Describes one module in full: what it defines (functions, types and constants with their lines), what it imports, who depends on it and its architecture layer. Use it to understand a module before reading its file, or to find where a feature lives: module is a module ID or a file path, and given a keyword instead it describes the best matching module. For what a change reaches use analyze_impact; for the text of the file use read_source. Returns one line per fact. A long list stops at 200 items unless all is true. A name the graph does not hold is answered with an error line, with suggestions when similar names exist.
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": {
"module": "<module>"
},
"name": "describe_module"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| all | No | List everything instead of stopping at 200 items. | |
| module | Yes | Module ID, file path, or a word from a module path, file name or entity name. |