seafile_write_file
Create or update text files in Seafile cloud storage by specifying repository ID, file path, and content. Overwrites existing files or creates new ones with provided text.
Instructions
Create or update a text file in Seafile.
If the file exists, it will be overwritten. If it doesn't exist, it will be created.
Parent directories must exist.
Args:
repo_id: The library/repository ID.
path: The path where the file should be written.
content: The text content to write.
Returns:
OperationResult indicating success or failure.
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
| repo_id | Yes | Library/repository ID | |
| path | Yes | File path within the library | |
| content | Yes | Text content to write to the file |