check_pm_order
Pre-flight policy check for a prediction-market order: would this cost be allowed right now? Auth required.
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": {
"wallet": "<wallet>",
"condition_id": "<condition_id>",
"cost_usd": "<cost_usd>"
},
"name": "check_pm_order"
}
}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 | |
| wallet | Yes | wallet address | |
| cost_usd | Yes | order cost in USD, decimal string | |
| condition_id | Yes | market/condition identifier |