Validate Order
warden.validate_orderValidates a proposed order against house exposure floors and reports any deviation, rejecting orders that breach position or gross limits.
Instructions
Validate a proposed order against the house floors (max position 25%, gross cap 60%).
order: {symbol, notional, side: buy|sell}; current_positions: {symbol: notional}. Per-fund overrides are allowed but the response always reports the deviation from the house floors. Rejections quote the exact floor — the same function gating live capital.
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": {
"order": "<order>",
"equity": "<equity>"
},
"name": "warden.validate_order"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| order | Yes | Proposed order: {symbol, notional, side: buy|sell}. | |
| equity | Yes | Account equity (base currency) used for the exposure floors. | |
| floor_overrides | No | Optional per-fund overrides {max_position_pct, max_gross_exposure_pct}; the response always reports the deviation from the house floors. | |
| current_positions | No | Optional {symbol: notional} map of current positions. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| how | No | ||
| tool | No | ||
| error | No | ||
| access | No | ||
| safety | No | ||
| verdict | No | ||
| provenance | No | ||
| violations | No | ||
| house_floors | No | ||
| fund_overrides | No | ||
| post_gross_pct | No | ||
| rejection_quote | No | ||
| post_position_pct | No | ||
| request_access_at | No |