notifications_mark_all_read
Marks all notifications for the caller as read in a workspace and returns how many were updated. Requires the caller's own userId so only their unread set is cleared.
Instructions
Alle als gelesen markieren (US-G06.2): clears the caller's whole unread set in one call and answers how many rows moved. Self-scoped structurally: userId must be the caller's own (forbidden otherwise).
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": {
"workspaceId": "<workspaceId>",
"userId": "<userId>"
},
"name": "notifications_mark_all_read"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| userId | Yes | ||
| workspaceId | Yes | ||
| idempotencyKey | No |