Skip to content

Commit b9567f6

Browse files
committed
chore: update toolsnaps for resolve/unresolve thread
1 parent 51dcc99 commit b9567f6

1 file changed

Lines changed: 8 additions & 2 deletions

File tree

pkg/github/__toolsnaps__/pull_request_review_write.snap

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
"annotations": {
33
"title": "Write operations (create, submit, delete) on pull request reviews."
44
},
5-
"description": "Create and/or submit, delete review of a pull request.\n\nAvailable methods:\n- create: Create a new review of a pull request. If \"event\" parameter is provided, the review is submitted. If \"event\" is omitted, a pending review is created.\n- submit_pending: Submit an existing pending review of a pull request. This requires that a pending review exists for the current user on the specified pull request. The \"body\" and \"event\" parameters are used when submitting the review.\n- delete_pending: Delete an existing pending review of a pull request. This requires that a pending review exists for the current user on the specified pull request.\n",
5+
"description": "Create and/or submit, delete review of a pull request.\n\nAvailable methods:\n- create: Create a new review of a pull request. If \"event\" parameter is provided, the review is submitted. If \"event\" is omitted, a pending review is created.\n- submit_pending: Submit an existing pending review of a pull request. This requires that a pending review exists for the current user on the specified pull request. The \"body\" and \"event\" parameters are used when submitting the review.\n- delete_pending: Delete an existing pending review of a pull request. This requires that a pending review exists for the current user on the specified pull request.\n- resolve_thread: Resolve a review thread. Requires \"threadId\" parameter with the thread's node ID (e.g., PRRT_kwDOxxx).\n- unresolve_thread: Unresolve a previously resolved review thread. Requires \"threadId\" parameter.\n",
66
"inputSchema": {
77
"properties": {
88
"body": {
@@ -27,7 +27,9 @@
2727
"enum": [
2828
"create",
2929
"submit_pending",
30-
"delete_pending"
30+
"delete_pending",
31+
"resolve_thread",
32+
"unresolve_thread"
3133
],
3234
"type": "string"
3335
},
@@ -42,6 +44,10 @@
4244
"repo": {
4345
"description": "Repository name",
4446
"type": "string"
47+
},
48+
"threadId": {
49+
"description": "The node ID of the review thread (e.g., PRRT_kwDOxxx). Required for resolve_thread and unresolve_thread methods. Get thread IDs from pull_request_read with method get_review_comments.",
50+
"type": "string"
4551
}
4652
},
4753
"required": [

0 commit comments

Comments
 (0)