Request a purchase
request_purchaseStart buying a paid marketplace listing for the account holder to confirm. Nothing is charged and you never pay: it returns a verify_url and a user_code to give to the account holder, who checks the code, confirms and pays. Then poll get_purchase_request.
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>",
"tenant": "<tenant>"
},
"name": "request_purchase"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | Marketplace listing id (from search_sessions). | |
| tenant | Yes | The listing's workspace (from search_sessions). | |
| version | No | The version you expect; must be the one on sale. | latest |