*/
export function jsonSchemaToZodRawShape(
): Record<string, ZodTypeAny> {
if (!inputSchema || inputSchema.type !== 'object' || !inputSchema.properties) {
return {};
}
const shape: Record<string, ZodTypeAny> = {};
for (const [name, raw] of Object.entries(inputSchema.properties)) {
let zodType: ZodTypeAny;
try {