Skip to content

Commit 65119eb

Browse files
authored
docs: correct parameter schema key in Dynamic Servers documentation (#789)
1 parent aad33a1 commit 65119eb

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -898,7 +898,7 @@ const upgradeAuthTool = server.tool(
898898
// If we've just upgraded to 'write' permissions, we can still call 'upgradeAuth'
899899
// but can only upgrade to 'admin'.
900900
upgradeAuthTool.update({
901-
paramSchema: { permission: z.enum(["admin"]) }, // change validation rules
901+
paramsSchema: { permission: z.enum(["admin"]) }, // change validation rules
902902
})
903903
} else {
904904
// If we're now an admin, we no longer have anywhere to upgrade to, so fully remove that tool

0 commit comments

Comments
 (0)