delete_file
Permanently delete a file or directory from Nextcloud by specifying its path, freeing up storage space and receiving confirmation.
Instructions
Delete a file or directory from Nextcloud.
WARNING: This permanently deletes the file/directory (moves to trash if enabled).
Args: path: Path to delete. Example: "Documents/old-file.txt"
Returns: Confirmation message.
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 |
|---|---|---|---|
| result | Yes |