preview_order. Accepts only the
confirm_token — the topic and option are read from it, so an agent cannot
reach this tool without having produced a summary first.
Scope: write · Annotations: destructiveHint, idempotentHint,
_meta["anthropic/requiresUserInteraction"]
REST equivalent: POST /open/v1/orders
Parameters
Returns
Captured live:Price locking — read this before reporting the fill
The preview captures a 60-second price lock:- Lock still live → the order fills at the previewed units and
price_lockedistrue. - Lock lapsed (including under 2 seconds left) → the order fills at the
current market price. It is not rejected.
price_lockedisfalse,order.units/order.pricehold the actual fill, andpreviewedholds what the user confirmed.
Retrying
Safe to retry with the same token: the original order comes back withreplayed: true and nothing is charged twice.
On a replay, price_locked describes this call, not the original fill —
the original’s lock state is not stored. To reconcile, compare order.units
and order.price against previewed.
Errors
See Errors for the full table.
Example prompts
- “Yes, place it.” (after a preview)
- “Confirmed — go ahead.”
Related
preview_order ·
list_my_positions