Codebase Files List
codebase_files_listList every file in a local Drupal module as module-relative paths to identify the correct path before reading a file or function.
Instructions
List every file in a local module as module-relative paths.
Useful to find the right path before calling codebase_file_read or codebase_function_read.
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_files_list"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| module | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||