diff_traces
Diff normalized agent traces to surface additions, removals, and value changes. Use ignore_paths to exclude noisy fields before comparison.
Instructions
Diff two normalized agentsnap traces and surface meaningful differences. Returns same=true on a structural match, otherwise lists additions (paths only present in current), removals (paths only present in baseline), and changes (paths whose values differ). Use ignore_paths to drop noisy fields (e.g. ["fingerprint","tools[0].result_hash"]) before classification.
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": {
"baseline": "<baseline>",
"current": "<current>"
},
"name": "diff_traces"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| current | Yes | The current run Trace object to compare against the baseline. | |
| baseline | Yes | The baseline Trace object (typically loaded from a snapshot file). | |
| ignore_paths | No | Optional list of path prefixes to drop from both traces before diffing. Each entry matches by exact prefix on the dotted path (e.g. "fingerprint" or "tools[2].result_hash"). |