create_folder
Creates one or more folders on the Synology NAS from full shared-folder paths, optionally creating missing parent directories and tolerating folders that already exist.
Instructions
Create one or more folders, each given as a full path starting with its shared folder (/video/TV Shows/New Show). By default (force_parent=true), missing folders above it are created too, and a folder that already exists is not an error. A new folder's name can't have whitespace at its ends, an invisible character where Unicode doesn't use one (a zero-width space, a soft hyphen), control or direction-changing characters, or be #recycle at a shared or home folder's top.
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": {
"paths": "<paths>"
},
"name": "create_folder"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| paths | Yes | Full paths of the folders to create (`["/video/TV Shows/New Show"]`). | |
| force_parent | No | Create missing parent folders too (default true); with `false`, each parent must already exist. |