Remove an empty folder
rmdirRemoves an empty folder ("project/folder"). A folder with docs or folders in it stays, and nothing is deleted with it. Only when the user asks.
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": {
"folder": "<folder>"
},
"name": "rmdir"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| folder | Yes | "project/folder" or "project/folder/subfolder". | |
| workspace | No | Workspace slug. Default: the only one, else the user's personal one. |