place_order
Submit a trade order after pre-trade risk checks pass. Uses the middleware-approved intent to execute the order safely on the paper broker.
Instructions
Submit an order. Subject to pre-trade risk limits.
By the time this body runs the middleware has already approved the order -- it is unreachable otherwise. The handler therefore uses the vetted intent from the middleware rather than re-parsing its own arguments, so there is no second interpretation of the agent's input that could differ from the one the rails checked.
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": {
"symbol": "<symbol>",
"side": "<side>",
"qty": "<qty>"
},
"name": "place_order"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| qty | Yes | ||
| side | Yes | ||
| symbol | Yes | ||
| order_type | No | market | |
| limit_price | No | ||
| time_in_force | No | day | |
| client_order_id | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||