View File
relay_filesystem_view · Tools · Connections
View a file by its mount-relative path on a Relay filesystem mount.
Parameters
| Name | Type | Required | Description |
|---|---|---|---|
mount | string | Yes | Folder (mount) name on that relay, as relay_list shows it |
path | string | Yes | Mount-relative file path |
relay | string | Yes | Relay connection `id` (a ULID) from relay_list |
View File Tool#
relay_filesystem_view opens a file for the agent to inspect in the conversation.
When to Use#
Open a file in a Relay filesystem mount. Use relay_filesystem_list or relay_filesystem_stat to find the file first.
Parameters#
| Parameter | Type | Required | Description |
|---|---|---|---|
relay |
string | Yes | The Relay connection id |
mount |
string | Yes | The mount name |
path |
string | Yes | The path relative to the mount |
Returns#
The result includes relay, mount and path alongside the file’s details in attachment and one of three view values:
shown: A PDF or an image (PNG, JPEG, GIF or WebP up to 5 MB) follows the tool results in the conversation.text: Thetextfield contains up to 100,000 characters, with anoteif the text was cut.not_viewable: Areasonandnoteexplain why the file cannot be displayed. This includes unsupported formats or files over 8 MiB.
Notes#
Files over 8 MiB return too_large without being read. Directories return not_a_file. The tool works with read-only mounts.
Verdalia keeps shown files privately for 7 days without making a Library item or a share link.