how_to_buy
Get the precise, step-by-step x402 payment sequence to buy a product: live network/USDC-contract/amount/pay-to values from the real 402 challenge, assembled into ordered steps.
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": {
"id": "<id>"
},
"name": "how_to_buy"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | Catalog product id. |