plan_delete_label
Preview deleting a label without touching its messages, returning a plan_id and summary for approval before execution.
Instructions
Dry run: changes nothing. Returns what would be affected and a plan_id for execute_plan. Show the user the summary before asking whether to execute. Delete a user label; its messages stay, without 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": {
"mailbox": "<mailbox>",
"label": "<label>"
},
"name": "plan_delete_label"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| label | Yes | ||
| mailbox | Yes | A connected mailbox address (see list_mailboxes) |