confirm
Execute a quoted action. Confirming executes this action exactly once. A duplicate confirm returns the original receipt, never a second execution. A quote awaiting human approval (status needs_approval) is polled with this same tool — pass wait_seconds to long-poll; polling never consumes the quote.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| payment | No | Compat alias for payment_credential: { rail, token }. Present one or the other, never both. | |
| quote_id | Yes | The quote_id returned by quote. | |
| agent_key | No | The same agent key the quote was made with. Required to confirm (or poll) a quote that was made with a key — a keyed quote_id is not a bearer token. | |
| wait_seconds | No | For quotes awaiting human approval or payment: how long to wait (0–25s) before answering awaiting_human / awaiting_payment. Ignored once the quote is ready. | |
| payment_credential | No | Paid actions only: { type, token } — a rail from the quote's payment profile (e.g. type "stripe_spt" with an spt_… token) plus the opaque payment token for it. NEVER a card number. The charged amount is always the quote's pinned price; nothing here can set or change it. Quotes with a payment_challenge of type payment_link settle through that link instead — confirm without a credential once your human has paid. |