update_message_alert
Update a 定期依頼 (name, Gmail query, watched accounts, AI instruction, run_hour, enabled). Get the id from list_message_alerts. instruction and run_hour must be changed together (an instruction requires a run_hour, and vice versa). Same query conventions as create_message_alert.
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": {
"id": "<id>"
},
"name": "update_message_alert"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | Rule id from list_message_alerts. | |
| name | No | ||
| query | No | New Gmail-syntax query. | |
| enabled | No | false pauses the request; true resumes it. | |
| accounts | No | ||
| run_hour | No | Local hour (0-23). Change together with instruction. | |
| instruction | No | What the AI should do when it runs. Change together with run_hour. |