validate_snapshot
Validate a snapshot object against the agentsnap Trace schema, verifying required fields and tool-entry shape, and returning valid=true or a list of actionable issues.
Instructions
Sanity-check a snapshot object against the agentsnap Trace schema. Verifies required fields (version, tools, fingerprint), tool-entry shape (name + args), and surfaces actionable issues. Returns valid=true on success, otherwise a list of human-readable issues.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| snapshot | Yes | A snapshot object — typically the JSON-decoded contents of a file written by expectSnapshot(). |