Fs Read File
fs_read_fileReads text files from allowlisted directories, enforcing a size cap and blocking path traversal through symlinks or '..' sequences.
Instructions
Read a file under allowlisted roots with a hard size limit.
Symlink and .. escapes fail closed. Content is UTF-8 decoded with
replacement characters; truncated is true when the file exceeded the cap.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | Yes | ||
| max_bytes | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||