Playbook

API Contract Testing for LLM Integrations

Prevent tool-call breakage with contract tests, shape validation, and regression snapshots.

Execution Checklist

  1. 1.Codify request and response schemas
  2. 2.Validate examples against strict contracts
  3. 3.Track schema diffs across releases
  4. 4.Block deployment on breaking changes

Recommended Tools