roma__UpdateNotification
Update a specified subscription management record by changing its status and topic. Use it to enable or disable notifications or route them to a different MQS topic.
Instructions
[ROMA] 该接口用于修改指定的订阅管理
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": {
"instance_id": "<instance_id>",
"notification_id": "<notification_id>",
"project_id": "<project_id>",
"status": "<status>",
"topic": "<topic>"
},
"name": "roma__UpdateNotification"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| topic | Yes | 通知发送的主题名,该主题需要在MQS存在 | |
| status | Yes | 启停状态 0-启用 1-停用 | |
| project_id | Yes | 项目ID,获取方式请参见《ROMA Connect API参考》的“附录 > 获取项目ID”章节。 | |
| instance_id | Yes | 实例ID | |
| notification_id | Yes | 订阅管理ID |