Update Spam Settings
update_spam_settingsSet a domain's spam auto-deletion score threshold (1-50); lower scores delete more aggressively, higher scores keep more mail.
Instructions
Sets the spam auto-deletion threshold (high_score, integer 1-50) for a domain. Lower values delete more aggressively; higher values keep more mail. Writes are serialized account-wide: if a save fails (for example 503), re-read the settings before retrying.
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": {
"domain": "<domain>",
"high_score": "<high_score>"
},
"name": "update_spam_settings"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| domain | Yes | Domain name on this account, e.g. example.com (letters, digits, hyphens; at least one dot) | |
| high_score | Yes | Spam score threshold for auto-deletion (integer 1-50) |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||