domain_sieve_create
Create a Sieve script for an email alias to define custom filtering rules, enabling automatic sorting, forwarding, or blocking of incoming messages.
Instructions
Create a Sieve filtering script for an alias.
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>",
"alias_id": "<alias_id>",
"name": "<name>",
"content": "<content>"
},
"name": "domain_sieve_create"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | Script name | |
| domain | Yes | Domain name or ID | |
| content | Yes | Sieve script content (RFC 5228) | |
| alias_id | Yes | Alias ID or name | |
| priority | No | Script priority (lower runs first) | |
| is_active | No | Whether the script is active |