callcheck validates AI tool call responses against a schema, and auto repairs the ones that fail. No hand rolled retry logic, no model lock in, no subscription required.
Nested objects, enums, constraints. callcheck checks the full response against your real schema, not a simplified version of it.
Import callcheck in TypeScript, wrap any tool definition, and every call through it gets validated and repaired without extra code downstream.
Not a logging tool. A repair layer between what your agent gets back and what your code trusts.
001
Zod based checks on every field, including nested objects.
002
Failing responses get a fix prompt and a retry, automatically.
003
validated() wraps a tool, every call after that is protected.
004
Every attempt logs which field and which model broke.