delete_mail_test_monitor
Delete a mail test monitor. Remove a monitor and its run log.
Deletes data Free scope: mailtester asks first
Asks first. Without
confirm: true this tool changes nothing and returns a preview of what would happen and what it would cost. The assistant shows you the preview and calls again with the confirmation only after you agree.What it does
Removes a monitor for good. Its address no longer accepts emails, so remember to take it out of your recipient list.
When to use it
- The email the monitor watched is no longer sent.
Try asking
- Delete the monitor for the old newsletter.
Parameters
| Name | Type | Required | Description |
|---|---|---|---|
monitor_id | integer | required | From list_mail_test_monitors. |
confirm | boolean | optional | Leave out (or false) to get a preview of what would happen and what it costs; nothing is changed. Set to true only after the user has agreed to the preview. |
Result
Fields of data. Every result also has a meta object with mode, credits_charged, credits_remaining and request_id.
| Name | Type | Description |
|---|---|---|
confirmation_required | boolean | true = preview only, nothing was deleted. |
deleted | boolean | |
monitor_id | integer | |
name | string | |
message | string |
Example
Call
What the assistant sends. Your MCP client adds the protocol envelope and headers itself.
tools/call
{
"jsonrpc": "2.0",
"id": 1,
"method": "tools/call",
"params": {
"name": "delete_mail_test_monitor",
"arguments": {
"monitor_id": 1,
"confirm": true
}
}
}Result
The tool result carries this object as structuredContent and, for clients that read text, the same JSON as a text block.
structuredContent
{
"data": {
"confirmation_required": false,
"deleted": true,
"monitor_id": 1,
"name": "Daily newsletter check",
"message": "The monitor \"Daily newsletter check\" was deleted. Its address modemo00000001@test.sendbridge.com no longer accepts tests."
},
"meta": {
"request_id": "req_9f2c11ab22cd33ef44aa55bb66cc",
"mode": "live",
"credits_charged": 0,
"credits_remaining": 4820
}
}In test mode
A test key answers as if the demo monitor were deleted; nothing is changed.
Errors
not_found | The id or token does not exist in this account. |
forbidden | The account may not do this yet, most often because its email address is not confirmed. |
What the assistant is told
This is the description your assistant reads when it decides whether to use the tool:
Deletes a mail tester monitor and its run log; its address stops accepting tests. Reports it already produced stay in the history. To stop it only for a while, use set_mail_test_monitor_state instead. Without confirm=true nothing is deleted: you get a preview naming the monitor. Call again with confirm=true only after the user has agreed. Free.