Skip to content

Commit fd01e58

Browse files
Adam Bloomstonclaude
andcommitted
docs: rename prod-tool example to lenient-tool for clarity
Renamed example from prod-tool to lenient-tool to better reflect that lenient validation is about backwards compatibility rather than being specifically for production environments. Changes linted and tested. 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <[email protected]>
1 parent 8119632 commit fd01e58

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1126,8 +1126,8 @@ const devTool = server.registerTool(
11261126
);
11271127

11281128
// Lenient validation (default) - maintains backwards compatibility with existing clients
1129-
const prodTool = server.registerTool(
1130-
'prod-tool',
1129+
const lenientTool = server.registerTool(
1130+
'lenient-tool',
11311131
{
11321132
inputSchema: { userName: z.string().optional(), itemCount: z.number().optional() },
11331133
strictInputSchemaValidation: false // Accept extra parameters for backwards compatibility with clients that may send additional fields

0 commit comments

Comments
 (0)