directory_create
Creates a single directory without replacing existing files; enable parents to include missing ancestors, use dry_run to validate first, and undo the recorded operation when safe.
Instructions
Create one directory and return operation_id and undo_available.
Additive: no existing file or directory is replaced. parents controls
whether missing ancestors may be created. dry_run validates and creates
nothing. Otherwise the operation is recorded, and undo removes the
directory only while everything inside it is exactly what the create
produced.
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": "directory_create"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | Yes | ||
| dry_run | No | ||
| parents | No |