Add tool annotations to all Everything server tools
Previously only get-annotated-message had ToolAnnotations. Now all 18 tools explicitly declare readOnlyHint, destructiveHint, idempotentHint, and openWorldHint so the server serves as a complete reference for developers implementing tool annotations per the MCP spec. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
parent
5cb1c6e042
commit
baf99300a2
1 changed files with 102 additions and 0 deletions
|
|
@ -13,6 +13,12 @@ const config = {
|
|||
title: "Echo Tool",
|
||||
description: "Echoes back the input string",
|
||||
inputSchema: EchoSchema,
|
||||
annotations: {
|
||||
readOnlyHint: true,
|
||||
destructiveHint: false,
|
||||
idempotentHint: true,
|
||||
openWorldHint: false,
|
||||
},
|
||||
};
|
||||
|
||||
/**
|
||||
|
|
|
|||
Loading…
Reference in a new issue