prepare_checkout
Optional independent consent workflow: prepare the same saved letter and quote without payment. Default handoff_url opens the existing website studio to finish there; review_url is the separate agent-consent route. Reuse the same key on retries.
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": {
"draft_id": "<draft_id>",
"version": "<version>",
"idempotency_key": "<idempotency_key>"
},
"name": "prepare_checkout"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| version | Yes | ||
| draft_id | Yes | ||
| idempotency_key | Yes |