Get message headers
get_headersGet email headers with SPF, DKIM, and DMARC verdicts to evaluate message legitimacy. Use raw=true for the unparsed header block.
Instructions
Headers plus SPF/DKIM/DMARC verdicts and Proton metadata, for judging whether a message is what it claims to be. Pass raw=true for the unparsed header block.
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": {
"uid": "<uid>"
},
"name": "get_headers"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| raw | No | Return the full raw header block instead. | |
| uid | Yes | ||
| folder | No | Default INBOX. | |
| uidvalidity | No |