{
  "$comment": "GENERATED FROM api/_tools/<slug>/route.mjs — do not edit by hand",
  "type": "https://eips.ethereum.org/EIPS/eip-8257#tool-manifest-v1",
  "name": "agent-cert-check",
  "description": "Live on-chain AgentCheck certification status for any Base address. Queries the AgentCheck registry (0x803A) at call time — not a cached snapshot — returning isCertified, certHash, and batteryHash as of the current block. Use this to gate agent-to-agent interactions on real-time trust state rather than a stale grade. Free.",
  "endpoint": "https://www.clawbots.org/api/tools/agent-cert-check",
  "inputs": {
    "type": "object",
    "properties": {
      "address": {
        "type": "string",
        "description": "Base address to check certification for (0x...)",
        "pattern": "^0x[a-fA-F0-9]{40}$"
      }
    },
    "required": [
      "address"
    ],
    "additionalProperties": false
  },
  "outputs": {
    "type": "object",
    "properties": {
      "address": {
        "type": "string",
        "description": "Queried address (lowercased)"
      },
      "isCertified": {
        "type": "boolean",
        "description": "Live on-chain certification status"
      },
      "certHash": {
        "type": [
          "string",
          "null"
        ],
        "description": "bytes32 cert hash, or null if uncertified / zero hash"
      },
      "batteryHash": {
        "type": [
          "string",
          "null"
        ],
        "description": "bytes32 battery hash, or null if not set"
      },
      "registry": {
        "type": "string",
        "description": "AgentCheck registry contract address"
      },
      "chain": {
        "type": "string",
        "description": "Always 'base'"
      },
      "note": {
        "type": "string",
        "description": "Human-readable certification note"
      },
      "checkedAt": {
        "type": "string",
        "format": "date-time",
        "description": "ISO timestamp of this check"
      }
    },
    "required": [
      "address",
      "isCertified",
      "certHash",
      "batteryHash",
      "registry",
      "chain",
      "note",
      "checkedAt"
    ]
  },
  "creatorAddress": "0xef2cc7d15d3421629f93ffa39727f14179f31c75",
  "tags": [
    "agent",
    "cert",
    "trust",
    "agentcheck",
    "base",
    "free"
  ],
  "pricing": [],
  "onChain": {
    "registry": "0x265BB2DBFC0A8165C9A1941Eb1372F349baD2cf1",
    "chainId": 8453,
    "toolId": 40
  }
}
