diff --git a/pkg/github/__toolsnaps__/delete_project_item.snap b/pkg/github/__toolsnaps__/delete_project_item.snap index d768df10f..430c83cc8 100644 --- a/pkg/github/__toolsnaps__/delete_project_item.snap +++ b/pkg/github/__toolsnaps__/delete_project_item.snap @@ -1,5 +1,6 @@ { "annotations": { + "destructiveHint": true, "title": "Delete project item" }, "description": "Delete a specific Project item for a user or org", diff --git a/pkg/github/projects.go b/pkg/github/projects.go index 18c1f778b..0536bed99 100644 --- a/pkg/github/projects.go +++ b/pkg/github/projects.go @@ -900,8 +900,9 @@ func DeleteProjectItem(t translations.TranslationHelperFunc) inventory.ServerToo Name: "delete_project_item", Description: t("TOOL_DELETE_PROJECT_ITEM_DESCRIPTION", "Delete a specific Project item for a user or org"), Annotations: &mcp.ToolAnnotations{ - Title: t("TOOL_DELETE_PROJECT_ITEM_USER_TITLE", "Delete project item"), - ReadOnlyHint: false, + Title: t("TOOL_DELETE_PROJECT_ITEM_USER_TITLE", "Delete project item"), + ReadOnlyHint: false, + DestructiveHint: jsonschema.Ptr(true), }, InputSchema: &jsonschema.Schema{ Type: "object",