Compare two agent run sequences and see how their tool calls differ
Compare two agent run sequences and see how their tool calls differ. Send before and after arrays of tool calls (name/args or tool/arguments shape) and get back which calls were added, removed, or reordered, plus per-call argument drift with the exact changed argument paths from a deep compare. The result is exact and reproducible: the same replay comparison always returns the same diff. Built for agent regression diff work: confirming a prompt or code change didn't silently alter which tools an agent calls or what it passes them. Use it as a tool call diff API, an agent action drift checker, or a replay comparison step in CI before shipping an agent change.
Provider
x402.agentutility.ai · discovered, not yet claimed by its owner
Payment (x402 accepts[])
[
{
"scheme": "exact",
"network": "eip155:8453",
"payTo": "0x6c0752c09e7F6fA6526fCDf40e456a159ebB5621",
"asset": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
"amount": "8000",
"maxTimeoutSeconds": 300
},
{
"scheme": "exact",
"network": "solana:5eykt4UsFv8P8NJdTREpY1vzqKqZKvdp",
"payTo": "FJqAJ4dXkFbrp3EEo8E9x98iaBGUQwaU8Srz5ePfUXLH",
"asset": "EPjFWdd5AufqSSqeM2qN1xzybapC8G4wEGGkZwyTDt1v",
"amount": "8000",
"maxTimeoutSeconds": 300
}
]Output schema
{
"bazaar": {
"discoverable": true,
"info": {
"input": {
"body": {
"after": [
{
"args": {
"limit": 10,
"q": "world"
},
"name": "search"
},
{
"args": {
"url": "https://example.com"
},
"name": "fetch"
}
],
"before": [
{
"args": {
"limit": 10,
"q": "hello"
},
"name": "search"
},
{
"args": {
"url": "https://example.com"
},
"name": "fetch"
}
]
},
"bodyType": "json",
"method": "POST",
"type": "http"
},
"output": {
"example": {
"added": [],
"after_count": 2,
"arg_drifted": [
{
"arg_diffs": [
{
"after": "world",
"before": "hello",
"path": "$.q"
}
],
"index_after": 0,
"index_before": 0,
"name": "search"
}
],
"before_count": 2,
"identical": false,
"removed": [],
"reordered": [],
"unchanged_count": 1
},
"type": "json"
}
},
"schema": {
"$schema": "https://json-schema.org/draft/2020-12/schema",
"properties": {
"input": {
"additionalProperties": false,
"properties": {
"body": {
"properties": {
"after": {
"description": "The new tool-call sequence to compare against 'before', same shape. Required, max 500 entries.",
"type": "array"
},
"before": {
"description": "The baseline tool-call sequence: a JSON array of call objects, each shaped {name, args} (or {tool, arguments} / {tool_name, input}). Required, max 500 entries.",
"type": "array"
}
},
"required": [
"before",
"after"
]
},
"bodyType": {
"enum": [
"json",
"form-data",
"text"
],
"type": "string"
},
"method": {
"enum": [
"POST"
],
"type": "string"
},
"type": {
"const": "http",
"type": "string"
}
},
"required": [
"type",
"method",
"bodyType",
"body"
],
"type": "object"
},
"output": {
"properties": {
"example": {
"properties": {
"added": {
"type": "array"
},
"after_count": {
"type": "integer"
},
"arg_drifted": {
"items": {
"properties": {
"arg_diffs": {
"items": {
"properties": {
"after": {
"type": "string"
},
"before": {
"type": "string"
},
"path": {
"type": "string"
}
},
"type": "object"
},
"type": "array"
},
"index_after": {
"type": "integer"
},
"index_before": {
"type": "integer"
},
"name": {
"type": "string"
}
},
"type": "object"
},
"type": "array"
},
"before_count": {
"type": "integer"
},
"identical": {
"type": "boolean"
},
"removed": {
"type": "array"
},
"reordered": {
"type": "array"
},
"unchanged_count": {
"type": "integer"
}
},
"type": "object"
},
"type": {
"type": "string"
}
},
"required": [
"type"
],
"type": "object"
}
},
"required": [
"input"
],
"type": "object"
}
},
"builder-code": {
"info": {
"a": "bc_awpbwsy3"
},
"schema": {
"$schema": "https://json-schema.org/draft/2020-12/schema",
"additionalProperties": false,
"properties": {
"a": {
"description": "App builder code",
"pattern": "^[a-z0-9_]{1,32}$",
"type": "string"
},
"s": {
"description": "Service builder codes",
"items": {
"pattern": "^[a-z0-9_]{1,32}$",
"type": "string"
},
"type": "array"
},
"w": {
"description": "Wallet builder code",
"pattern": "^[a-z0-9_]{1,32}$",
"type": "string"
}
},
"type": "object"
}
}
}Use it
curl
curl "https://x402.agentutility.ai/tool-call-diff" # -> 402 Payment Required, accepts[] lists how to pay # retry with a PAYMENT-SIGNATURE (or PAYMENT header) once paid
JavaScript
const res = await fetch("https://x402.agentutility.ai/tool-call-diff");
if (res.status === 402) {
const { accepts } = await res.json();
// pay one of accepts[] via an x402 client, then retry with the payment header
}Python
import httpx
res = httpx.get("https://x402.agentutility.ai/tool-call-diff")
if res.status_code == 402:
accepts = res.json()["accepts"]
# pay one of accepts[] via an x402 client, then retry with the payment headerMachine-readable
Everything on this page is also available as clean JSON at /resources/5224.json, and this resource appears in /discovery/resources and /discovery/search.