get_checkout
Retrieves a CartAI checkout task's state by taskId, including status, iterations, pricing, shipping, addons, and original customer/product data. Call on webhook events; polling is not recommended.
Instructions
Retrieves the full state of a CartAI checkout task by taskId — current status, execution iterations, derivedDetails (pricing, shipping), addons, and the original customer and product data. Best called on a webhook event; polling is possible but not recommended.
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": {
"taskId": "<taskId>"
},
"name": "get_checkout"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| taskId | Yes | A taskId returned by create_checkout or create_search_checkout |