We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4477c4d commit ea9a65eCopy full SHA for ea9a65e
src/tools/tool.ts
@@ -35,10 +35,9 @@ export abstract class ToolBase {
35
36
if (this.operationType === "read" || this.operationType === "metadata") {
37
annotations.readOnlyHint = true;
38
- }
39
-
40
- if (this.operationType === "delete") {
41
- annotations.destructiveHint = true;
+ annotations.destructiveHint = false;
+ } else {
+ annotations.destructiveHint = this.operationType === "delete";
42
}
43
44
return annotations;
0 commit comments