Read a code file
read_code_fileRead a project's code file as UTF-8 text, returning content and line count. File access is sandboxed to prevent path escape.
Instructions
Read a file under the project's codeLocation as UTF-8 text (size-capped; binary files are flagged, not dumped). Returns content + line count. Sandboxed to codeLocation (no path escape).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | Yes | File path relative to codeLocation, e.g. server/index.js. | |
| project | Yes | ||
| maxBytes | No |