sieve_get_backup
Reads local backup content for restoring Sieve mail filtering rules; pass the content to the script upload tool with overwrite enabled if the script still exists.
Instructions
Read the content of a local backup. To restore it, pass the content to sieve_put_script (with overwrite: true if the script still exists).
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": {
"file": "<file>"
},
"name": "sieve_get_backup"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| file | Yes | Backup file name exactly as returned by sieve_list_backups. | |
| accountId | No | Account id, as an alternative to accountName. | |
| accountName | No | Account name (from sieve_list_accounts). Optional when only one account is configured. |