files_create_folder
Creates a folder at a specified path in Nextcloud. Optionally creates missing parent folders, returning created false if the folder already exists, or an error if a file is present at the path.
Instructions
Create a folder; an existing folder answers created false, an existing file at the path returns an error.
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": "files_create_folder"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | Yes | Folder path to create, e.g. /Projects/2026 | |
| parents | No | Also create missing parent folders, at most 10 new ones |