seafile_read_file
Retrieve file content from Seafile cloud storage, returning text directly for small files or download URLs for larger or binary files.
Instructions
Read a file from Seafile.
For text files within the size limit, returns the file content directly.
For binary files or files exceeding the size limit, returns a download URL.
Args:
repo_id: The library/repository ID.
path: The path to the file within the library.
Returns:
FileContent with either text content or a download URL.
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
| repo_id | Yes | Library/repository ID | |
| path | Yes | File path within the library |