Codebase File Read
codebase_file_readRead a single file from a local Drupal module using a module-relative path; blocks unsafe paths and truncates content at 64 KB.
Instructions
Read one file from a local module.
path is module-relative (e.g. 'mymod.module'). Content is
truncated at 64 KB with a truncated flag. Absolute paths, '..'
traversal and symlinks escaping the codebase are rejected.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | Yes | ||
| module | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||