a207-notification-mcp
v0.2.2儿童 CKD 通知中心 MCP(M10):本地 JSON 存储 + 应用内拉取,订阅 M4 随访到期 / M8 风险升级 / M9…
These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.
create_notification Create Notification
创建一条通知(写,仅编排/临床角色)。用于编排层直接写入自定义通知。 category=followup_due/risk_alert/report_ready/general;priority=high/medium/low。 身份来自部署注入的环境变量 A207_CALLER(模型不可自证)。
| Parameter | Type | Description |
|---|---|---|
body * | string | |
category * | string | |
patient_id * | string | |
priority * | string | |
title * | string | |
due_at | ||
source_event |
build_event_notification Build Event Notification
将末端事件翻译为通知并写入(零跨包 import)。 event_type=followup_due 需 payload.next_due_date;risk_escalation 需 payload.from_level,to_level,rule; report_ready 无需额外字段。编排层在侦测到 M4/M8/M9 事件后调用。 身份来自部署注入的环境变量 A207_CALLER(模型不可自证)。
| Parameter | Type | Description |
|---|---|---|
event_type * | string | |
patient_id * | string | |
payload * | object |
get_notifications Get Notifications
读取某患者的通知列表(读,所有角色可读自己患者的通知)。status=all/unacked/acked。 身份来自部署注入的环境变量 A207_CALLER(模型不可自证)。
| Parameter | Type | Description |
|---|---|---|
patient_id * | string | |
status | string |
ack_notification Ack Notification
确认/已读一条通知(读角色均可)。幂等。 身份来自部署注入的环境变量 A207_CALLER(模型不可自证)。
| Parameter | Type | Description |
|---|---|---|
notification_id * | string |