Skip to content

Commit aad44f7

Browse files
committed
Set explicit destructiveHint=False, idempotentHint=True on READONLY annotation
1 parent 8f96a92 commit aad44f7

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/nextcloud_mcp/annotations.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
from mcp.types import ToolAnnotations
44

5-
READONLY = ToolAnnotations(readOnlyHint=True)
5+
READONLY = ToolAnnotations(readOnlyHint=True, destructiveHint=False, idempotentHint=True)
66
ADDITIVE = ToolAnnotations(readOnlyHint=False, destructiveHint=False, idempotentHint=False)
77
ADDITIVE_IDEMPOTENT = ToolAnnotations(readOnlyHint=False, destructiveHint=False, idempotentHint=True)
88
DESTRUCTIVE = ToolAnnotations(readOnlyHint=False, destructiveHint=True, idempotentHint=True)

0 commit comments

Comments
 (0)