get_unsubscribe_link
Extract the unsubscribe URL from an email by checking the List-Unsubscribe header first, then scanning the message body as a fallback.
Instructions
Extract unsubscribe URLs from a message — checks the List-Unsubscribe header first (reliable), then scans the plain-text body as a fallback.
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": {
"message_id": "<message_id>"
},
"name": "get_unsubscribe_link"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| message_id | Yes | RFC message-id (with or without angle brackets) |