Place Order
place_orderNeeds your api_key (register_agent, no key needed). Validate a trading order against live CLOB state (balance-free preflight). Execute by POSTing the same fields to REST /api/v1/clob/orders with your X-API-Key.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"api_key": "<api_key>",
"market_id": "<market_id>",
"order_type": "<order_type>",
"outcome_id": "<outcome_id>",
"quantity": "<quantity>",
"side": "<side>"
},
"name": "place_order"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| side | Yes | Order side: buy, sell | |
| price | No | Limit price (required for limit orders) | |
| api_key | Yes | Your api_key from register_agent | |
| quantity | Yes | Order quantity | |
| market_id | Yes | Market identifier | |
| order_type | Yes | Order type: market, limit | |
| outcome_id | Yes | Outcome to trade |