create_folder
Create a new sidebar folder in an AFFiNE workspace, either at the top level or inside a specified parent folder, by providing a folder name and optional workspace.
Instructions
New sidebar folder, at the top or inside another folder
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 | ||
| parent | No | Parent folder id or name | |
| workspace | No | Workspace id or name, leave out for the default workspace |