create_directory
Create a new directory at a specified absolute path with optional permission mode. In safe mode, creation is limited to /tmp or /var/tmp directories.
Instructions
Create a new directory. In safe mode, only directories in /tmp or /var/tmp can be created.
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": "create_directory"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| mode | No | Permission mode (e.g., 755) | |
| path | Yes | Absolute path to the directory to create | |
| server | No | Server alias (e.g., 'pi1', 'web-server'). Uses default server if not specified. |