Create, rename, delete or subscribe a folder
mailbox_manage_folderCreate, rename, move, delete, subscribe to, or unsubscribe mailbox folders to organize messages. Delete requires empty folders unless force is set for permanent removal.
Instructions
Folder housekeeping. action: create (path like "INBOX/receipts/2026"), rename (path -> new_path, also moves it), delete (must be empty unless force=true; force deletes every message in it permanently), subscribe / unsubscribe (whether mail apps show it).
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": {
"action": "<action>",
"path": "<path>"
},
"name": "mailbox_manage_folder"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | Yes | ||
| force | No | For delete: allow deleting a folder that still has messages (permanent) | |
| action | Yes | ||
| new_path | No | For rename |