Skip to content
Closed
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
2 changes: 1 addition & 1 deletion pkg/github/__toolsnaps__/update_issue_assignees.snap
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"annotations": {
"destructiveHint": false,
"destructiveHint": true,
"openWorldHint": true,
"title": "Update Issue Assignees"
},
Expand Down
2 changes: 1 addition & 1 deletion pkg/github/__toolsnaps__/update_issue_body.snap
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"annotations": {
"destructiveHint": false,
"destructiveHint": true,
"openWorldHint": true,
"title": "Update Issue Body"
},
Expand Down
2 changes: 1 addition & 1 deletion pkg/github/__toolsnaps__/update_issue_labels.snap
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"annotations": {
"destructiveHint": false,
"destructiveHint": true,
"openWorldHint": true,
"title": "Update Issue Labels"
},
Expand Down
2 changes: 1 addition & 1 deletion pkg/github/__toolsnaps__/update_issue_milestone.snap
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"annotations": {
"destructiveHint": false,
"destructiveHint": true,
"openWorldHint": true,
"title": "Update Issue Milestone"
},
Expand Down
2 changes: 1 addition & 1 deletion pkg/github/__toolsnaps__/update_issue_state.snap
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"annotations": {
"destructiveHint": false,
"destructiveHint": true,
"openWorldHint": true,
"title": "Update Issue State"
},
Expand Down
2 changes: 1 addition & 1 deletion pkg/github/__toolsnaps__/update_issue_title.snap
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"annotations": {
"destructiveHint": false,
"destructiveHint": true,
"openWorldHint": true,
"title": "Update Issue Title"
},
Expand Down
2 changes: 1 addition & 1 deletion pkg/github/__toolsnaps__/update_issue_type.snap
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"annotations": {
"destructiveHint": false,
"destructiveHint": true,
"openWorldHint": true,
"title": "Update Issue Type"
},
Expand Down
4 changes: 2 additions & 2 deletions pkg/github/issues_granular.go
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ func issueUpdateTool(
Annotations: &mcp.ToolAnnotations{
Title: t("TOOL_"+strings.ToUpper(name)+"_USER_TITLE", title),
ReadOnlyHint: false,
DestructiveHint: jsonschema.Ptr(false),
DestructiveHint: jsonschema.Ptr(true),
OpenWorldHint: jsonschema.Ptr(true),
},
InputSchema: &jsonschema.Schema{
Expand Down Expand Up @@ -332,7 +332,7 @@ func GranularUpdateIssueType(t translations.TranslationHelperFunc) inventory.Ser
Annotations: &mcp.ToolAnnotations{
Title: t("TOOL_UPDATE_ISSUE_TYPE_USER_TITLE", "Update Issue Type"),
ReadOnlyHint: false,
DestructiveHint: jsonschema.Ptr(false),
DestructiveHint: jsonschema.Ptr(true),
OpenWorldHint: jsonschema.Ptr(true),
},
InputSchema: &jsonschema.Schema{
Expand Down
Loading