gmail_delete_label
Remove a Gmail label while preserving messages; system labels are unsupported. Requires full scope.
Instructions
Delete a Gmail label. Messages with this label will not be deleted, they will just lose the label. System labels cannot be deleted. Requires full scope.
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": {
"accountId": "<accountId>",
"labelId": "<labelId>"
},
"name": "gmail_delete_label"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| confirm | No | Set to true to confirm deletion | |
| labelId | Yes | The label ID to delete | |
| accountId | Yes | The Google account ID, alias, or email |