Delete Nextcloud file
delete_fileDeletes a single file or folder inside your connected Nextcloud workspace root. Refuses root deletion and cannot access other accounts, hosts, or arbitrary URLs.
Instructions
Delete one item only inside the user's connected private Nextcloud workspace root.
Deleting the root itself is refused. Cannot target another account, host, or arbitrary URL.
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>"
},
"name": "delete_file"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ok | No | ||
| path | Yes | ||
| message | Yes |