upload_file
Uploads a local file to Nextcloud, using chunked transfer for large files; a destination ending in '/' keeps the original filename.
Instructions
Upload a local file. Big files are uploaded in chunks. A destination ending with '/' keeps the local name.
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": {
"local_path": "<local_path>",
"path": "<path>"
},
"name": "upload_file"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | Yes | Destination path, or folder ending with '/' | |
| overwrite | No | Replace an existing file | |
| local_path | Yes | Absolute path of the file on this machine |