create_checkout
Start a purchase. v0 returns the merchant's checkout link for the chosen variant plus a Kaupia checkout_id. Keep the checkout_id and call report_outcome later so the order is covered and ranked.
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": {
"product_id": "<product_id>",
"variant_id": "<variant_id>"
},
"name": "create_checkout"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| agent | No | unknown | |
| quantity | No | ||
| product_id | Yes | ||
| variant_id | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |