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
Everyv21_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:
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?”
Related
place_order ·
get_topic ·
list_my_positions