x402 Envelope Inspector
agentbit.x402_inspectLint any x402 endpoint or payment header against the v2 spec and real CDP facilitator behavior: CAIP-2 network ids, atomic amounts, the EIP-712 domain-name trap ('USD Coin' on Base mainnet vs 'USDC' on Sepolia — wrong name = every settlement fails), the extensions echo Coinbase Bazaar requires for indexing, expired authorizations. Findings as error/warning/info with what will actually break. Built by a seller that debugged all of these in production. Pay-per-call via x402 (USDC, Base).
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "agentbit.x402_inspect"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| url | No | A paid x402 endpoint to probe live (GET, expects the 402 envelope) | |
| _payment | No | Optional base64 x402 PAYMENT-SIGNATURE payload. Omit to receive payment requirements. | |
| payment_payload | No | Base64 PAYMENT-SIGNATURE header value to lint the client payload (optionally alongside payment_required) | |
| payment_required | No | Base64 PAYMENT-REQUIRED header value to lint offline |