upload_file
Save or update text files in Nextcloud by writing provided content to a path, creating the file if it doesn't exist or replacing it if it does.
Instructions
Create or overwrite a file in Nextcloud with the given text content.
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 | Destination path relative to user root (e.g. 'Documents/notes.md') | |
| content | Yes | Text content to write to the file |