Create folder
create_directoryCreates a folder and any missing parent directories so a required path exists before writing files into it.
Instructions
Create a folder, with missing parents on the local disk. Use when: a folder must exist before writing into it. Instead: copy_tree and copy_path_to_backend make their destinations. Behavior: only adds. A repeat succeeds locally. Remote backends create no parents, and an existing folder fails there with 'exists'. A file at path fails. Time limit: 30 s. Returns: {ok: true}.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "create_directory"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | No | The folder to create (absolute, or relative to the MCP root). Required unless path_b64 is given. | |
| backend | No | Backend id from list_backends; omit for the default. | |
| path_b64 | No | path as base64 of its raw bytes, for non-UTF-8 names; replaces path. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ok | Yes |