How to buy a piece (x402)
how_to_buyReturn the x402 URL and payment requirements for one piece ($0.03 USDC on Base mainnet), plus step-by-step buying instructions. This tool does not take payment: pay with your own x402 client by calling GET on the returned URL. Free.
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 | Catalogue id, entry number or title. | |
| format | No | html (default, the interactive piece) or bundle (JSON with every format and an access token), or one export. | html |