Check message compliance
check_messageRun email/SMS compliance checks before sending.
Checks against: Spam Act 2003 (AU), CAN-SPAM (US), CASL (CA), GDPR/ePrivacy (EU).
Parameters:
subject — message subject line
body — full message body text
channel — "email" or "sms"
consent — "express", "inferred", "none", or "unknown"
sender_identified — True if the sender is clearly named in the message
recipient — recipient address (for evidence log only, never stored in full)
campaign_id — optional campaign reference for grouping evidence records
jurisdiction — "au", "us", "ca", "eu", or "all" (default: all — strictest)
Returns a verdict (pass/review/block), findings with fixes tagged by law,
the message classification, and a check_id for your evidence log.
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": {
"subject": "<subject>",
"body": "<body>"
},
"name": "check_message"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| body | Yes | ||
| channel | No | ||
| consent | No | unknown | |
| subject | Yes | ||
| recipient | No | ||
| campaign_id | No | ||
| jurisdiction | No | all | |
| sender_identified | No |