{
  "x402Version": 2,
  "id": 5224,
  "slug": "5224",
  "resource": "https://x402.agentutility.ai/tool-call-diff",
  "description": "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.",
  "type": "http",
  "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
    }
  ],
  "outputSchema": {
    "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"
      }
    }
  },
  "tags": [
    "bazaar",
    "builder-code"
  ],
  "sourceHost": "x402.agentutility.ai",
  "lastUpdated": "2026-09-04T16:12:35.063Z",
  "quality": {
    "calls30d": 1,
    "uniquePayers30d": 1,
    "lastCalledAt": "2026-09-04T16:12:30.294Z"
  },
  "liveness": {},
  "verified": false,
  "featured": false,
  "provider": {
    "host": "x402.agentutility.ai",
    "manifest_name": "x402.agentutility.ai",
    "source": "cdp-mirror",
    "source_manifest_url": "https://api.cdp.coinbase.com/platform/v2/x402/discovery/resources",
    "submitted_at": "2026-09-18T22:00:31.484Z"
  }
}