seafile_copy
Copy files or directories within Seafile libraries to duplicate content across locations in cloud storage.
Instructions
Copy a file or directory within a Seafile library.
Args:
repo_id: The library/repository ID.
src_path: The path of the file or directory to copy.
dst_path: The destination directory path.
Returns:
OperationResult indicating success or failure.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"repo_id": "<repo_id>",
"src_path": "<src_path>",
"dst_path": "<dst_path>"
},
"name": "seafile_copy"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| repo_id | Yes | Library/repository ID | |
| src_path | Yes | Source path of file or directory | |
| dst_path | Yes | Destination path (directory where copy will be placed) |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | No | Affected path (if applicable) | |
| message | Yes | Result message | |
| success | Yes | Whether the operation succeeded |