Create a folder
create_folderCreate a Folder to group Threads. Folders are optional: create one only when the person asks or their Folders clearly call for it, then put Threads in it with move_thread or create_thread. parent_id: a Folder's id from list_folders, or null for the top level (needs whole-workspace access); a live sibling with the same name answers folder_name_conflict. Needs Can edit and organize. Answers a receipt with the new Folder's id (entity_id), revision and url; the same operation_id answers it again instead of creating a second 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": {
"operation_id": "<operation_id>",
"name": "<name>"
},
"name": "create_folder"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | 1–200 characters. | |
| parent_id | No | The parent Folder's id, or null for the top level. | |
| operation_id | Yes | A new UUID for each write. After a lost answer, send the identical call with the same one, or check get_operation before writing again. |