Codebase Function Read
codebase_function_readExtract a single PHP function and its docblock from a module to review one hook or method without reading entire files. Returns the file path, line, and code.
Instructions
Extract a single PHP function (with its docblock) from a module.
Returns the file path, the line of the function and its code — enough to review one hook or method without reading whole files. Searches all PHP-ish files in the module, including class methods.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| module | Yes | ||
| function_name | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||