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 9725bbc commit da45a6bCopy full SHA for da45a6b
src/mcp/tool.ts
@@ -21,9 +21,19 @@ export interface ServerTool<InputSchema extends ZodTypeAny = ZodTypeAny> {
21
inputSchema: any;
22
annotations?: {
23
title?: string;
24
+
25
+ // If this tool modifies data or not.
26
readOnlyHint?: boolean;
27
28
+ // this tool can destroy data.
29
destructiveHint?: boolean;
30
31
+ // this tool is safe to run multiple times.
32
idempotentHint?: boolean;
33
34
+ // If this is true, it connects to the internet or other open world
35
+ // systems. If false, the tool only performs actions in an enclosed
36
+ // system, such as your project.
37
openWorldHint?: boolean;
38
};
39
_meta?: {
0 commit comments