seafile_delete
Delete files or directories from Seafile cloud storage. This irreversible action removes specified items from libraries, with potential recovery from trash depending on server settings.
Instructions
Delete a file or directory from Seafile.
Warning: This operation is irreversible. Deleted items may be recoverable
from the library's trash for a limited time, depending on server settings.
Args:
repo_id: The library/repository ID.
path: The path to the file or directory to delete.
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>",
"path": "<path>"
},
"name": "seafile_delete"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| repo_id | Yes | Library/repository ID | |
| path | Yes | Path of file or directory to delete |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | No | Affected path (if applicable) | |
| message | Yes | Result message | |
| success | Yes | Whether the operation succeeded |