update_sieve_script
Update an existing Sieve script by changing its name, content, or active state.
Instructions
Update an existing Sieve script (name, content, or active state).
Args: script_id: ID of the Sieve script to update. name: New name (empty to leave unchanged). content: New Sieve source (empty to leave unchanged). is_active: Set active state (null to leave unchanged).
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": {
"script_id": "<script_id>"
},
"name": "update_sieve_script"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| script_id | Yes | ||
| name | No | ||
| content | No | ||
| is_active | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||