sieve_check_script
Validates Sieve source without saving it and returns compiler validation results, errors, and warnings to catch unsupported extensions while iterating on drafts.
Instructions
Ask the server to validate Sieve source without saving it. Returns valid/errors/warnings from the server's own compiler, so it catches unsupported extensions too. sieve_put_script runs this automatically; use it directly while iterating on a draft.
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": {
"content": "<content>"
},
"name": "sieve_check_script"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| content | Yes | Complete Sieve script source (RFC 5228), including its require line. | |
| accountId | No | Account id, as an alternative to accountName. | |
| accountName | No | Account name (from sieve_list_accounts). Optional when only one account is configured. |