unsubscribe
Leave a newsletter or mailing list by selecting one of its messages. Opt out in one click when the sender supports it; otherwise open the sender's page or ready email.
Instructions
Leave a newsletter or mailing list, given one of its messages (mail_stats lists them). In one click when its sender offers it and the receiving server confirmed the sender: a window on the Mac asks the user first, as it cannot be undone. Otherwise the page to open (open: true opens it in the browser) or a ready e-mail the user sends.
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>"
},
"name": "unsubscribe"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | A message from the newsletter or list (mail_stats gives the latest of each). | |
| open | No | When the sender only offers a web page: open it in the user's browser. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| via | No | The page or address the request goes to. | |
| note | Yes | ||
| sender | Yes | ||
| status | Yes | unsubscribed, awaiting_approval, cancelled, link, opened or draft. |