Create folder
mkdirCreate a new folder in Nextcloud via WebDAV. Use parents to create missing ancestor directories; the operation fails if a path segment already exists as a file.
Instructions
Create a folder with WebDAV MKCOL. Set parents true to create missing ancestors. Refuses when a path segment already exists as a file.
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": "mkdir"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | Yes | Folder path relative to the Nextcloud files root. | |
| parents | No | Create missing ancestor folders. Default false. |