(schema: unknown)
| 2319 | * whichever Zod major version (`^3 || ^4`) TypeScript resolves at the call site. |
| 2320 | */ |
| 2321 | export const isZodSchema = (schema: unknown): schema is ZodToJsonSchemaInput => |
| 2322 | typeof schema === 'object' && schema !== null && '_def' in schema && typeof (schema as { parse?: unknown }).parse === 'function' |
| 2323 | |
| 2324 | /** |
| 2325 | * Normalizes a tool schema into a plain JSON Schema object. |
no outgoing calls
no test coverage detected