docs: correct parameter schema key in Dynamic Servers documentation (#789)
This commit is contained in:
parent
aad33a15a8
commit
65119eb7d8
1 changed files with 1 additions and 1 deletions
|
|
@ -898,7 +898,7 @@ const upgradeAuthTool = server.tool(
|
|||
// If we've just upgraded to 'write' permissions, we can still call 'upgradeAuth'
|
||||
// but can only upgrade to 'admin'.
|
||||
upgradeAuthTool.update({
|
||||
paramSchema: { permission: z.enum(["admin"]) }, // change validation rules
|
||||
paramsSchema: { permission: z.enum(["admin"]) }, // change validation rules
|
||||
})
|
||||
} else {
|
||||
// If we're now an admin, we no longer have anywhere to upgrade to, so fully remove that tool
|
||||
|
|
|
|||
Loading…
Reference in a new issue