- Notifications
You must be signed in to change notification settings - Fork3.1k
Migrate notifications toolset to modelcontextprotocol/go-sdk#1449
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to ourterms of service andprivacy statement. We’ll occasionally send you account related emails.
Already on GitHub?Sign in to your account
Uh oh!
There was an error while loading.Please reload this page.
Changes fromall commits
b72f996d2e81cecb7243451b7a400b1b09085b4e8aFile filter
Filter by extension
Conversations
Uh oh!
There was an error while loading.Please reload this page.
Jump to
Uh oh!
There was an error while loading.Please reload this page.
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,28 +1,28 @@ | ||
| { | ||
| "annotations": { | ||
| "title": "Dismiss notification" | ||
| }, | ||
| "description": "Dismiss a notification by marking it as read or done", | ||
| "inputSchema": { | ||
| "type": "object", | ||
| "required": [ | ||
| "threadID", | ||
| "state" | ||
Contributor
| ||
| ], | ||
| "properties": { | ||
| "state": { | ||
| "type": "string", | ||
| "description": "The new state of the notification (read/done)", | ||
| "enum": [ | ||
| "read", | ||
| "done" | ||
| ] | ||
| }, | ||
| "threadID": { | ||
| "type": "string", | ||
| "description": "The ID of the notification thread" | ||
| } | ||
| } | ||
| }, | ||
| "name": "dismiss_notification" | ||
| } | ||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,20 +1,20 @@ | ||
| { | ||
| "annotations": { | ||
| "readOnlyHint":true, | ||
| "title":"Get notification details" | ||
| }, | ||
| "description": "Get detailed information for a specific GitHub notification, always call this tool when the user asks for details about a specific notification, if you don't know the ID list notifications first.", | ||
| "inputSchema": { | ||
| "type": "object", | ||
| "required": [ | ||
| "notificationID" | ||
| ], | ||
| "properties": { | ||
| "notificationID": { | ||
| "type": "string", | ||
| "description": "The ID of the notification" | ||
| } | ||
| } | ||
| }, | ||
| "name": "get_notification_details" | ||
| } |
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,49 +1,49 @@ | ||
| { | ||
| "annotations": { | ||
| "readOnlyHint":true, | ||
| "title":"List notifications" | ||
| }, | ||
| "description": "Lists all GitHub notifications for the authenticated user, including unread notifications, mentions, review requests, assignments, and updates on issues or pull requests. Use this tool whenever the user asks what to work on next, requests a summary of their GitHub activity, wants to see pending reviews, or needs to check for new updates or tasks. This tool is the primary way to discover actionable items, reminders, and outstanding work on GitHub. Always call this tool when asked what to work on next, what is pending, or what needs attention in GitHub.", | ||
| "inputSchema": { | ||
| "type": "object", | ||
| "properties": { | ||
| "before": { | ||
| "type": "string", | ||
| "description": "Only show notifications updated before the given time (ISO 8601 format)" | ||
| }, | ||
| "filter": { | ||
| "type": "string", | ||
| "description": "Filter notifications to, use default unless specified. Read notifications are ones that have already been acknowledged by the user. Participating notifications are those that the user is directly involved in, such as issues or pull requests they have commented on or created.", | ||
| "enum": [ | ||
| "default", | ||
| "include_read_notifications", | ||
| "only_participating" | ||
| ] | ||
| }, | ||
| "owner": { | ||
| "type": "string", | ||
| "description": "Optional repository owner. If provided with repo, only notifications for this repository are listed." | ||
| }, | ||
| "page": { | ||
| "type": "number", | ||
| "description": "Page number for pagination (min 1)", | ||
| "minimum": 1 | ||
| }, | ||
| "perPage": { | ||
| "type": "number", | ||
| "description": "Results per page for pagination (min 1, max 100)", | ||
| "minimum": 1, | ||
| "maximum":100 | ||
| }, | ||
| "repo": { | ||
| "type": "string", | ||
| "description": "Optional repository name. If provided with owner, only notifications for this repository are listed." | ||
| }, | ||
| "since": { | ||
| "type": "string", | ||
| "description": "Only show notifications updated after the given time (ISO 8601 format)" | ||
| } | ||
| } | ||
| }, | ||
| "name": "list_notifications" | ||
| } |
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,30 +1,29 @@ | ||
| { | ||
| "annotations": { | ||
| "title": "Manage notification subscription" | ||
| }, | ||
| "description": "Manage a notification subscription: ignore, watch, or delete a notification thread subscription.", | ||
| "inputSchema": { | ||
| "type": "object", | ||
| "required": [ | ||
| "notificationID", | ||
| "action" | ||
| ], | ||
| "properties": { | ||
| "action": { | ||
| "type": "string", | ||
| "description": "Action to perform: ignore, watch, or delete the notification subscription.", | ||
| "enum": [ | ||
| "ignore", | ||
| "watch", | ||
| "delete" | ||
| ] | ||
| }, | ||
| "notificationID": { | ||
| "type": "string", | ||
| "description": "The ID of the notification thread." | ||
| } | ||
| } | ||
| }, | ||
| "name": "manage_notification_subscription" | ||
| } |
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,35 +1,34 @@ | ||
| { | ||
| "annotations": { | ||
| "title": "Manage repository notification subscription" | ||
| }, | ||
| "description": "Manage a repository notification subscription: ignore, watch, or delete repository notifications subscription for the provided repository.", | ||
| "inputSchema": { | ||
| "type": "object", | ||
| "required": [ | ||
| "owner", | ||
| "repo", | ||
| "action" | ||
| ], | ||
| "properties": { | ||
| "action": { | ||
| "type": "string", | ||
| "description": "Action to perform: ignore, watch, or delete the repository notification subscription.", | ||
| "enum": [ | ||
| "ignore", | ||
| "watch", | ||
| "delete" | ||
| ] | ||
| }, | ||
| "owner": { | ||
| "type": "string", | ||
| "description": "The account owner of the repository." | ||
| }, | ||
| "repo": { | ||
| "type": "string", | ||
| "description": "The name of the repository." | ||
| } | ||
| } | ||
| }, | ||
| "name": "manage_repository_notification_subscription" | ||
| } |
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,25 +1,24 @@ | ||
| { | ||
| "annotations": { | ||
| "title": "Mark all notifications as read" | ||
| }, | ||
| "description": "Mark all notifications as read", | ||
| "inputSchema": { | ||
| "type": "object", | ||
| "properties": { | ||
| "lastReadAt": { | ||
| "type": "string", | ||
| "description": "Describes the last point that notifications were checked (optional). Default: Now" | ||
| }, | ||
| "owner": { | ||
| "type": "string", | ||
| "description": "Optional repository owner. If provided with repo, only notifications for this repository are marked as read." | ||
| }, | ||
| "repo": { | ||
| "type": "string", | ||
| "description": "Optional repository name. If provided with owner, only notifications for this repository are marked as read." | ||
| } | ||
| } | ||
| }, | ||
| "name": "mark_all_notifications_read" | ||
| } |
Uh oh!
There was an error while loading.Please reload this page.
Uh oh!
There was an error while loading.Please reload this page.