pls_update_alarm_rule
pls_update_alarm_ruleUpdate an existing alarm rule entity by specifying its ID and fields to modify. Requires explicit confirmation.
Instructions
【🔧 管理】更新告警规则实体。
参数:
confirm: 二次确认(必填),必须传 "确认"
根据实体类型传入对应字段
返回: {success: true/false, entity: 实体名称, action: 操作类型}
提示: 确认+只传需改字段
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": {
"confirm": "<confirm>"
},
"name": "pls_update_alarm_rule"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | No | 告警规则ID(更新/删除时必填,长整型以字符串传入) | |
| name | No | 规则名称 | |
| confirm | Yes | ⚠️ 写操作需二次确认,必须传 "确认" | |
| alarmType | No | 告警类型: 0-入侵, 1-越界, 2-超限, 3-低位, 4-超时, 5-低电, 6-超速 | |
| thresholds | No | 阈值 | |
| monitoredPeriod | No | 受控时段, 如 "08:00-18:00" |