Function: shapeOf()
shapeOf(
parameters):Record<string,z.ZodType>
Defined in: packages/mcp/src/mcp.ts:89
One zod field per parameter: the tool's inputSchema, and the validation that runs before a handler sees the arguments. The CLI's rules: string and integer required, boolean optional and false by default.
Parameters
parameters
readonly Parameter[]
Returns
Record<string, z.ZodType>