Turn tool parameters into a request: map aliased parameters back to their entry fields, encode parsed values to their wire form (e.g. a boolean for a z.stringbool() query field becomes 'true'), then build the request.
z.stringbool()
'true'
Catalog entry.
Tool parameters (the parsed shape).
Entry field to tool parameter name, as given to catalogToolDefinition.
The request.
CatalogClientError with status 0 and the Zod issues for invalid parameters.
Turn tool parameters into a request: map aliased parameters back to their entry fields, encode parsed values to their wire form (e.g. a boolean for a
z.stringbool()query field becomes'true'), then build the request.