Nurama Developers

get_new_notification_count

Return the count of new (unread) notifications across the given channels — the cheapest probe to decide whether it's worth paging through `list_new_notifications`.

Read-only tool.

Return the count of new (unread) notifications across the given channels — the cheapest probe to decide whether it's worth paging through list_new_notifications. Optional type filter narrows the count.

Input

PropertyTypeRequiredDescription
channelsstring[]yesChannel strings to count from. Examples: user/<userId>, workspace/<workspaceId>, project/<projectId>/<visibility>. min items 1
typesstring[]noOptional notification type filter.

JSON Schema

{
  "type": "object",
  "properties": {
    "channels": {
      "type": "array",
      "items": {
        "type": "string"
      },
      "minItems": 1,
      "description": "Channel strings to count from. Examples: `user/<userId>`, `workspace/<workspaceId>`, `project/<projectId>/<visibility>`."
    },
    "types": {
      "type": "array",
      "items": {
        "type": "string"
      },
      "description": "Optional notification type filter."
    }
  },
  "required": [
    "channels"
  ],
  "additionalProperties": false
}

On this page