codex_purchase_initiate
Prepare a purchase proposal for a catalog item. Returns an AP2/x402 checkout payload draft for human approval. This tool never executes a payment, charges a card, or moves funds — execution happens only through the isolated financial connector gateway after a valid, exact-match, single-use TGA is issued.
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": {
"offer_id": "<offer_id>",
"quantity": "<quantity>"
},
"name": "codex_purchase_initiate"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| currency | No | USD | |
| offer_id | Yes | ||
| quantity | Yes |