Make a folder in a mailbox
create_folderMakes a folder in a mailbox, at the top or under another folder, to file threads in. Every holder of the box sees it, in the webmail and in their mail client. A name holds no "/", "*" nor "%", is unique among its neighbours, and at the top is none of the six every mailbox has.
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": {
"box": "<box>",
"name": "<name>"
},
"name": "create_folder"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| box | Yes | The address of the mailbox to look in, for example "simon@sonentreprise.com": call list_sender_addresses to find it. One of its aliases names the same mailbox. A support queue is not a mailbox and has no folders. | |
| name | Yes | The name of the folder, 200 characters at most. | |
| parent_id | No | The folder it goes under, by its id from list_folders. Left out, it goes at the top. |