Codebase Directory Tree
codebase_directory_treeShows a local Drupal module's directory structure as a nested tree, listing directory children and file sizes within depth and item limits.
Instructions
Show a local module's directory structure as a nested tree.
Directories have children; files carry a size. The tree is depth and item capped to keep responses bounded.
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": "codebase_directory_tree"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| module | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||