imap_create_mailbox
Create a new IMAP mailbox or folder, such as Archive/2024, in a specified account to organize email. Provide the mailbox name; the account defaults to the default account.
Instructions
Create a new mailbox/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": {
"mailbox_name": "<mailbox_name>"
},
"name": "imap_create_mailbox"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| account_id | No | Account identifier (defaults to `"default"`) | default |
| mailbox_name | Yes | Name of the mailbox to create (e.g., `Archive/2024`, `Projects/Active`) |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| data | Yes | Tool-specific data payload | |
| meta | Yes | Execution metadata (timestamp, duration) | |
| summary | Yes | Human-readable summary of the operation outcome |