create_folder
Create a NEW folder only when no existing folder fits. Search with search and resultType folders first so you don't duplicate a folder; if that is not enough, fetch_folder the root and walk until you find the closest related folder. Nest under that folder by passing its id as parentFolderId. Omit parentFolderId only when the user explicitly asked for a root-level folder. Returns the new folder's id and name.
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 display name of the new folder | |
| parentFolderId | No | Folder to nest under. Search with resultType folders, or walk with fetch_folder, and pass the closest related folder's id. Omit only when the user explicitly asked for a root-level folder. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | ||
| folderId | Yes |