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.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"snapshot": "<snapshot>"
},
"name": "validate_snapshot"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| snapshot | Yes | A snapshot object — typically the JSON-decoded contents of a file written by expectSnapshot(). |