complete_purchase
Complete a checkout and place the order.
Only call this when the checkout status is 'ready_for_complete'. Records the purchase as a conversion in telemetry and ends the attribution session.
Returns the order confirmation with order ID and receipt link.
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": {
"checkout_id": "<checkout_id>"
},
"name": "complete_purchase"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| session_id | No | Session identifier for telemetry. Use the same one from search/checkout. | |
| checkout_id | Yes | The checkout session ID to complete |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |