ag_json_diff
Compare two JSON values and identify added, removed, or changed paths (JSON Pointer style) up to 500 changes. Use to verify agent output matches expected results.
Instructions
Structural diff of two JSON values with per-path changes.
Compares two JSON values and returns added/removed/changed paths (JSON-Pointer-style), capped at 500 changes. Use to verify an agent's output changed only what it was asked to.
Deterministic, fixture-verified, free for guests (rate-limited; pass your Guild api_key to use your member budget). Returns the result plus a Guild-signed provenance envelope.
payload MUST match this JSON Schema:
{"type": "object", "properties": {"a": {}, "b": {}}, "required": ["a", "b"], "additionalProperties": false}
Output schema: {"type": "object", "properties": {"equal": {"type": "boolean"}, "changes": {"type": "array"}, "change_count": {"type": "integer"}}, "required": ["equal", "changes", "change_count"], "additionalProperties": false}
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| api_key | No | ||
| payload | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||