lean_module_hierarchy
Analyze module import dependencies in Lean 4 projects. Traverse forward (imports) or reverse (importedBy) to understand code structure and impact.
Instructions
Forward and reverse module import dependency hierarchy analysis
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": {
"moduleName": "<moduleName>"
},
"name": "lean_module_hierarchy"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| direction | No | Direction of dependency traversal (default: both) | |
| moduleName | Yes | Full module name (e.g. EASCI.ReinforcementLearning.Core) |