Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
22 changes: 11 additions & 11 deletions pkg/github/__toolsnaps__/dismiss_notification.snap
Original file line number Diff line number Diff line change
@@ -1,28 +1,28 @@
{
"annotations": {
"title": "Dismiss notification",
"readOnlyHint": false
"title": "Dismiss notification"
},
"description": "Dismiss a notification by marking it as read or done",
"inputSchema": {
"type": "object",
"required": [
"threadID",
"state"
Copy link
Contributor

@LuluBeatson LuluBeatson Nov 20, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

state was not required before migration. But actually, the tool handler requires it.

This is an acceptable change in the tool schema.

],
"properties": {
"state": {
"type": "string",
"description": "The new state of the notification (read/done)",
"enum": [
"read",
"done"
],
"type": "string"
]
},
"threadID": {
"description": "The ID of the notification thread",
"type": "string"
"type": "string",
"description": "The ID of the notification thread"
}
},
"required": [
"threadID"
],
"type": "object"
}
},
"name": "dismiss_notification"
}
18 changes: 9 additions & 9 deletions pkg/github/__toolsnaps__/get_notification_details.snap
Original file line number Diff line number Diff line change
@@ -1,20 +1,20 @@
{
"annotations": {
"title": "Get notification details",
"readOnlyHint": true
"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": {
"properties": {
"notificationID": {
"description": "The ID of the notification",
"type": "string"
}
},
"type": "object",
"required": [
"notificationID"
],
"type": "object"
"properties": {
"notificationID": {
"type": "string",
"description": "The ID of the notification"
}
}
},
"name": "get_notification_details"
}
36 changes: 18 additions & 18 deletions pkg/github/__toolsnaps__/list_notifications.snap
Original file line number Diff line number Diff line change
@@ -1,49 +1,49 @@
{
"annotations": {
"title": "List notifications",
"readOnlyHint": true
"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": {
"description": "Only show notifications updated before the given time (ISO 8601 format)",
"type": "string"
"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"
],
"type": "string"
]
},
"owner": {
"description": "Optional repository owner. If provided with repo, only notifications for this repository are listed.",
"type": "string"
"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,
"type": "number"
"minimum": 1
},
"perPage": {
"type": "number",
"description": "Results per page for pagination (min 1, max 100)",
"maximum": 100,
"minimum": 1,
"type": "number"
"maximum": 100
},
"repo": {
"description": "Optional repository name. If provided with owner, only notifications for this repository are listed.",
"type": "string"
"type": "string",
"description": "Optional repository name. If provided with owner, only notifications for this repository are listed."
},
"since": {
"description": "Only show notifications updated after the given time (ISO 8601 format)",
"type": "string"
"type": "string",
"description": "Only show notifications updated after the given time (ISO 8601 format)"
}
},
"type": "object"
}
},
"name": "list_notifications"
}
23 changes: 11 additions & 12 deletions pkg/github/__toolsnaps__/manage_notification_subscription.snap
Original file line number Diff line number Diff line change
@@ -1,30 +1,29 @@
{
"annotations": {
"title": "Manage notification subscription",
"readOnlyHint": false
"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"
],
"type": "string"
]
},
"notificationID": {
"description": "The ID of the notification thread.",
"type": "string"
"type": "string",
"description": "The ID of the notification thread."
}
},
"required": [
"notificationID",
"action"
],
"type": "object"
}
},
"name": "manage_notification_subscription"
}
Original file line number Diff line number Diff line change
@@ -1,35 +1,34 @@
{
"annotations": {
"title": "Manage repository notification subscription",
"readOnlyHint": false
"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"
],
"type": "string"
]
},
"owner": {
"description": "The account owner of the repository.",
"type": "string"
"type": "string",
"description": "The account owner of the repository."
},
"repo": {
"description": "The name of the repository.",
"type": "string"
"type": "string",
"description": "The name of the repository."
}
},
"required": [
"owner",
"repo",
"action"
],
"type": "object"
}
},
"name": "manage_repository_notification_subscription"
}
19 changes: 9 additions & 10 deletions pkg/github/__toolsnaps__/mark_all_notifications_read.snap
Original file line number Diff line number Diff line change
@@ -1,25 +1,24 @@
{
"annotations": {
"title": "Mark all notifications as read",
"readOnlyHint": false
"title": "Mark all notifications as read"
},
"description": "Mark all notifications as read",
"inputSchema": {
"type": "object",
"properties": {
"lastReadAt": {
"description": "Describes the last point that notifications were checked (optional). Default: Now",
"type": "string"
"type": "string",
"description": "Describes the last point that notifications were checked (optional). Default: Now"
},
"owner": {
"description": "Optional repository owner. If provided with repo, only notifications for this repository are marked as read.",
"type": "string"
"type": "string",
"description": "Optional repository owner. If provided with repo, only notifications for this repository are marked as read."
},
"repo": {
"description": "Optional repository name. If provided with owner, only notifications for this repository are marked as read.",
"type": "string"
"type": "string",
"description": "Optional repository name. If provided with owner, only notifications for this repository are marked as read."
}
},
"type": "object"
}
},
"name": "mark_all_notifications_read"
}
Loading
Loading