read_file
Read file contents from a specified path, returning up to 32,000 characters. Useful for viewing config files, logs, scripts, and notes.
Instructions
Read the text contents of a file at the given path. Returns up to max_chars characters (default 16,000, max 32,000). Useful for reading config files, logs, scripts, notes, etc.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | Yes | Absolute or home-relative path to the file (e.g. '~/.zshrc', '/etc/hosts'). | |
| max_chars | No | Maximum characters to return (1000–32000, default 16000). Truncates with an indicator if exceeded. |