Place OPTION order. instId: {uly}-{expiry}-{strike}-C/P, e.g. BTC-USD-241227-50000-C. Before placing, use market_get_instruments to get ctVal (contract face value) - do NOT assume contract sizes. [CAUTION] Executes real trades.
AI agents use option_place_order to commit financial operations through Okx Trade — usually the final step of a payment, billing, or trading workflow. A call moves real money.
| Parameter | Type | Required | Description |
|---|---|---|---|
px | string | — | Required for limit/post_only/fok/ioc |
sz | string | Yes | Contracts count by default. Set tgtCcy=quote_ccy to specify USDT notional value; set tgtCcy=margin to specify USDT margin cost (notional = sz * leverage). |
side | string | Yes | |
instId | string | Yes | e.g. BTC-USD-241227-50000-C |
tdMode | string | Yes | cash=buyer full premium; cross/isolated=seller margin |
tgtCcy | string | — | Size unit. base_ccy(default): sz in contracts; quote_ccy: sz in USDT notional value; margin: sz in USDT margin cost (actual position = sz * leverage) |
clOrdId | string | — | Client order ID (max 32 chars) |
ordType | string | Yes | market=no px; limit/fok/ioc=px req; post_only=maker |
slOrdPx | string | — | SL order price; -1=market |
stpMode | string | — | Self-trade prevention: cancel_maker|cancel_taker|cancel_both |
tpOrdPx | string | — | TP order price; -1=market |
tpOrdKind | string | — | condition(default)=trigger-based TP; limit=immediate limit order (no trigger phase) |
Parameters from the server's own tool schema.
This tool places real options orders on OKX exchange, directly committing financial obligations and potentially moving significant capital. Options trading carries high financial risk including total loss of premium and leverage effects. The description explicitly warns '[CAUTION] Executes real trades', confirming live financial transactions.
From the tool's definition 'Place OPTION order', 'Executes real trades', involves options contracts on BTC/USD and other assets
Risk signalsHigh parameter count (17 properties)
Attacks that exploit this kind of access
Place OPTION order. instId: {uly}-{expiry}-{strike}-C/P, e.g. BTC-USD-241227-50000-C. Before placing, use market_get_instruments to get ctVal (contract face value) - do NOT assume contract sizes. [CAUTION] Executes real trades. It is categorised as a Financial tool in the Okx Trade MCP Server, which means it involves financial transactions. Block by default and require explicit approval.
option_place_order accepts 12 parameters: px, sz, side, instId, tdMode, tgtCcy, clOrdId, ordType, slOrdPx, stpMode, tpOrdPx, tpOrdKind. Required: sz, side, instId, tdMode, ordType. The full parameter table on this page comes from the server's own tool schema.
Register the Okx Trade MCP server in PolicyLayer and add a rule for option_place_order: allow, deny, rate-limit, or require approval. Point your MCP client at the PolicyLayer proxy URL and the rule is enforced on every call, before it reaches Okx Trade. Nothing to install.
option_place_order is a Financial tool with critical risk. Critical-risk tools should be blocked by default and only enabled with explicit human approval.
Yes. Add a rate_limit block to the option_place_order rule in your PolicyLayer policy. For example, setting max: 10 and window: 60 limits the tool to 10 calls per minute. Rate limits are tracked per agent session and reset automatically.
Set action: deny in the PolicyLayer policy for option_place_order. The AI agent will receive a policy violation error and cannot call the tool. You can also include a reason field to explain why the tool is blocked.
option_place_order is provided by the Okx Trade MCP server (@okx_ai/okx-trade-mcp). PolicyLayer sits as a proxy in front of this server to enforce policies before tool calls reach the server.
Every MCP server has a record like this.
Type a name, get the same breakdown: verified identity, auth posture, risk grade, capabilities, recommended policy.
Teams ship this data inside their own products. See what a licence covers →