fs_read
Read UTF-8 text files from a project with optional line ranges, returning content slices and SHA-256 hashes while rejecting binaries.
Instructions
Read a UTF-8 text file under the project root with optional line range. Returns sha256 of the full file, content slice, and truncated flag. Rejects binaries (UNSUPPORTED_BINARY still includes sha256 for replace flows). Read-only; lease_id optional.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | Yes | ||
| project | No | demo | |
| end_line | No | ||
| lease_id | No | ||
| max_bytes | No | ||
| start_line | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||