Skip to main content
Computes the summary the user is meant to confirm before taking a position, and — when the order is currently possible — mints the confirm_token place_order needs. Scope: write · Annotations: readOnlyHint REST equivalent: POST /open/v1/topics/{id}/order-preview
This tool charges nothing and does not reserve anything. It counts against the read window only, so an agent can freely price a few options before asking.

Parameters

Returns

Every v21_lmsr order is a fixed 100 coins. payout_if_correct_rubies is what the option pays if it turns out correct — that many rubies, with the 100-coin stake not returned. price_after is where the option’s price lands once this order joins the book. avg_price is coins paid per ruby (stake / units). It always sits above price_now and below price_after, since the order moves the price up as it fills. It carries 6 decimal places — the one field that departs from the 4-decimal convention, because it is a ratio rather than a price. Captured live:
Show the summary to the user and get their explicit confirmation before calling the execute tool. The token is what proves a preview happened — it is not a substitute for asking.

When the order can’t be placed

can_place is false, reason says why, and no token is issued: The summary is still returned so the agent can explain the situation with real numbers:
With MECHANISM_UNSUPPORTED the summary is partial — only topic_title, option_label, stake_coins, the balances, price_now, close_time and mechanism are meaningful.

Example prompts

  • “What would it cost me to back Yes on the Fed market?”
  • “If I’m right on this one, what do I get?”
place_order · get_topic · list_my_positions