create_order
Creates and submits a product order with full configuration through canonical checkout, returning an immediate charge or hosted checkout URL for payment; retries reuse an idempotency key.
Instructions
Purchase one product with its full configuration through the canonical checkout. Requires billing:write and instances:write. Use the current legalAcceptance from get_catalog with accepted:true only after authorization. A confirmed funded order may charge immediately; otherwise returns a hosted checkoutUrl for payment. Reuse the same idempotency_key and order on retries; only confirm may change from false to true. Poll get_order using orderId.
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": {
"order": "<order>",
"idempotency_key": "<idempotency_key>"
},
"name": "create_order"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| order | Yes | ||
| idempotency_key | Yes |