Propose changing an alert
patroltech_alerts_propose_set_preferencePropose enabling or disabling a specific alert type on email, push, or WhatsApp. Changes are queued in the pending batch and applied only after user confirmation.
Instructions
Use when you want to turn on or off a notice the user receives. It only adds a proposal to the pending batch of this connection (up to 10 changes); nothing changes in the account yet. Show the returned summaries to the user and call patroltech_proposals_confirm only after they agree.
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": {
"type": "<type>",
"channel": "<channel>",
"enable": "<enable>"
},
"name": "patroltech_alerts_propose_set_preference"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| type | Yes | Alert type: pending_route, missed_route, upcoming_deadline, patroller_inactive (guard inactive), suspicious_scan, role_assignment, incident_created, incident_status_changed, incident_assigned or incident_comment. | |
| enable | Yes | true = start receiving it on that channel; false = stop receiving it. | |
| channel | Yes | Channel: email, push or whatsapp. |