unsubscribe
Unsubscribe from a mailing list using the message's List-Unsubscribe header, via RFC 8058 one-click POST, mailto request, or a returned web link. Accepts up to 50 message ids; never use on spam or phishing.
Instructions
Unsubscribe from the mailing list a message came from, using its List-Unsubscribe header. Prefers RFC 8058 one-click (an HTTPS POST), then sends the mailto request from your account. If only a web link exists, returns it for the user to open. Accepts id or ids (up to 50). Never use this on spam or phishing: unsubscribing confirms the address is active.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "unsubscribe"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | No | A single message id | |
| ids | No | Several message ids (up to 50); give either id or ids, not both |