read_file
Retrieve the text content of any file by providing its absolute path. Optionally set a maximum character limit for large files.
Instructions
Read the content of a file and return it as text.
Works for any text file: R scripts, markdown, Python, JSON, CSV, etc.
The file does not need to be pre-registered in tracked_files.
Args:
path: Absolute path to the file to read.
max_chars: Maximum characters to return (default 8000). For large files,
increase this or ask for a specific section.Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | Yes | ||
| max_chars | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |