read_file
Read text file contents given a path, with encoding and byte-limit options, to support AI assistants working in Windows developer environments.
Instructions
Read and return the contents of a text file.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | Yes | Path to the file (absolute or relative to cwd). | |
| encoding | No | File encoding. Default: "utf-8". | utf-8 |
| max_bytes | No | Maximum bytes to read. Larger files are truncated. Default: 1,000,000 (1 MB). |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||