prepare_pm_order
Prepare a client-signed Polymarket order: policy-checked, then returns the exact EIP-712 payload to sign outside MCP (this server cannot sign) plus a prepare_id — submit both via submit_pm_order. Auth required.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| state | No | optional current exposure: {market_exposure_usd, realized_loss_today_usd, total_open_exposure_usd} as decimal strings | |
| venue | Yes | ||
| action | Yes | ||
| wallet | Yes | treasury wallet whose policy governs the order | |
| token_id | Yes | outcome token id, decimal string | |
| price_usd | Yes | limit price, '0.xx' | |
| size_shares | Yes | share count, decimal string | |
| condition_id | Yes | market condition id | |
| credential_id | Yes | stored credential id (uuid) | |
| client_order_id | No | optional idempotency uuid |