Buy a tool (exclusive)
buy_productGet everything needed to buy one tool from x402 Forge: the x402 URL your wallet pays, the price, and what you receive. Each tool is sold once, to one owner: you get a small x402 server with the tool, Forge stops selling it, and your copy is listed under your wallet. This call itself is free and does not pay; pay the returned buy_url with an x402 client (for example an x402 fetch or payment tool, or the Fizzl Agent Wallet).
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": {
"slug": "<slug>"
},
"name": "buy_product"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| slug | Yes | The tool's slug, from search_products | |
| format | No | zip (default) or json files |