upload_file
Upload or create text or base64 files in a Seafile library by providing a path and file content. Optionally replace existing files and pass credentials for authenticated access.
Instructions
Upload/create a file (text or base64).
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": {
"path": "<path>",
"content": "<content>"
},
"name": "upload_file"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | Yes | ||
| content | Yes | ||
| replace | No | ||
| repo_id | No | ||
| is_base64 | No | ||
| repo_token | No | ||
| library_name | No | ||
| account_token | No | ||
| session_token | No |