Skip to content

Commit ea9a65e

Browse files
committed
update
1 parent 4477c4d commit ea9a65e

File tree

1 file changed

+3
-4
lines changed

1 file changed

+3
-4
lines changed

src/tools/tool.ts

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -35,10 +35,9 @@ export abstract class ToolBase {
3535

3636
if (this.operationType === "read" || this.operationType === "metadata") {
3737
annotations.readOnlyHint = true;
38-
}
39-
40-
if (this.operationType === "delete") {
41-
annotations.destructiveHint = true;
38+
annotations.destructiveHint = false;
39+
} else {
40+
annotations.destructiveHint = this.operationType === "delete";
4241
}
4342

4443
return annotations;

0 commit comments

Comments
 (0)