Delete Mailbox Folder
shipmail_delete_mailbox_folderDelete a custom mailbox folder by first moving messages to Trash and removing references from inbox rules and Assistant automations.
Instructions
Delete a custom mailbox folder after moving its messages to Trash. Remove references from inbox rules and Assistant automations first.
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": {
"id": "<id>",
"folder_id": "<folder_id>"
},
"name": "shipmail_delete_mailbox_folder"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | ShipMail resource ID. | |
| folder_id | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |