Set when to be told about a room
set_alert_rulesReplaces the alert rules for one room. Each rule watches one measurement, in one direction, past one value, for a length of time before it fires. Passing the list replaces it, so include the rules you want to keep. Requires a PitCanary account.
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": {
"room_id": "<room_id>",
"rules": "<rules>"
},
"name": "set_alert_rules"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| rules | Yes | The complete set of rules for this room. | |
| room_id | Yes | The room id, as returned by list_rooms. |