You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Keep cross-field validation in the handler so the canonical tool schema remains compatible with provider JSON Schema subsets. Add an inventory-wide regression guard against top-level schema combinators.
Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
Copy file name to clipboardExpand all lines: pkg/github/__toolsnaps__/add_issue_comment.snap
-24Lines changed: 0 additions & 24 deletions
Original file line number
Diff line number
Diff line change
@@ -6,30 +6,6 @@
6
6
},
7
7
"description": "Add a comment and/or reaction to a specific issue or issue comment in a GitHub repository. Use this tool with pull requests as well (in this case pass pull request number as issue_number), but only if user is not asking specifically to add or react to review comments. At least one of body or reaction is required.",
8
8
"inputSchema": {
9
-
"anyOf": [
10
-
{
11
-
"required": [
12
-
"body"
13
-
]
14
-
},
15
-
{
16
-
"required": [
17
-
"reaction"
18
-
]
19
-
}
20
-
],
21
-
"dependentSchemas": {
22
-
"comment_id": {
23
-
"not": {
24
-
"required": [
25
-
"body"
26
-
]
27
-
},
28
-
"required": [
29
-
"reaction"
30
-
]
31
-
}
32
-
},
33
9
"properties": {
34
10
"body": {
35
11
"description": "Comment content. Required unless reaction is provided.",
0 commit comments