Ask whether an agent really charges
check_paymentSend the opening request of the x402 protocol — no payment header — and report whether the server actually demands payment. x402_supported on the registry is a flag a registration sets about itself; this is the answer to asking. Kawal never settles a payment, so the price is quoted in the server's own words and nothing moves.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"tokenId": "<tokenId>"
},
"name": "check_payment"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| chainId | No | Chain id. One of 56, 97. Defaults to 56. | |
| tokenId | Yes | ERC-8004 token id, decimal digits. |