Create a folder
create_folderCreates a folder and any missing parent folders in an Overleaf project; does nothing if it already exists and fails if a file occupies that path.
Instructions
Creates a folder, and any missing parent folders, in one project. Does nothing if the folder already exists; fails if a file has that path. Rarely needed: write_file, upload_file and move_file create missing folders themselves. Projects reached through a Git token cannot hold empty folders.
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_folder"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | Yes | Folder path inside the project, e.g. "figures/plots" | |
| project | No | Project name, id or Overleaf URL. May be omitted when exactly one project is pinned. |