Create a folder
create_folderCreates an empty folder (an address segment such as /services; a folder is not a file), kept in .xodia/folders.json so it shows in the Pages panel and the plan before any page is in it. Folders that pages or collections use exist without this. Addresses are lowercase words with dashes, up to 5 folder levels; an address another page, folder or collection uses is refused with address_clash and the reason (a collection's item level, /blog/, belongs to its items unless the collection reserves that slug). Writes an unsaved change.
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>",
"projectId": "<projectId>"
},
"name": "create_folder"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | No | Its name in Studio and the default menu label; default from the slug | |
| path | Yes | The folder's address ("services", or "services/web" inside services) | |
| branch | No | Optional branch; default the branch the workspace has open | |
| projectId | Yes | Project id from list_projects |