Create folder
create_folderCreate a folder to organize sites. space is the drive: personal (default) or shared (Pro workspaces only). Pass parent_id (from list_folders) to nest it; omit for a top-level folder. A nested folder must share its parent’s drive. A shared folder starts restricted: addressable at its slug but visible only to the creator and members they invite. Pass open_to_team: true to open it to everyone in the workspace, including members who join later. The marketing and blog folders and any folder inside them are always open to the workspace, and open_to_team: false is refused there. Returns the new folder, with the slug derived from its name; in the SnapHost marketing workspace the landing-page folder must end up slugged marketing, so check the returned slug.
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": {
"name": "<name>"
},
"name": "create_folder"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | The folder name | |
| space | No | `personal` (default) or `shared` for the workspace’s shared drive | |
| parent_id | No | Parent folder id from list_folders to nest under; omit for top level | |
| open_to_team | No | Shared drive only: true opens the folder to everyone in the workspace, current and future members; omitted, it starts restricted (invite-only) | |
| workspace_id | No | Optional: the workspace to act in, from list_workspaces (the connection reaches the person's personal space and every workspace they are a member of). Required on a write when the connection reaches more than one workspace. Omit to act in the personal space (for an older single-workspace connection, the one workspace it was authorized for). |