trade · wire operation
Preflight a trade plan against the ledger, the market, and the policy
Normalize an intent (or take an execution plan) and judge it: the portfolio before and after through the ledger's own fold of hypothetical fills, every policy check with its verdict, declared-rate cost estimates, the monitor's alerts on the after-state, and one decision — allow only when every check passes, deny on any failure, require-approval when evidence is missing; never an allow from missing information. No effect. Opt-in (tradePack).
totalfinance.trade.preflight- MCP tool name
- totalfinance_trade_preflight
- Pack / profiles
- trade / full
- Default discovery
- Opt-in (select its pack or profile)
- Required capabilities
- trade:propose
- Effects / authorization
- none / none
- Cost / cancellation
- small / Do not assume inline interruption
- Handle-eligible inputs
- portfolio, market
- Idempotency
- not-applicable
Input schema
| Field | Type | Meaning |
|---|---|---|
planOptional | object | — |
intentOptional | object | — |
portfolioRequired | object | object | string | — |
marketRequired | object | string | — |
asOfRequired | number | Epoch ms — the instant the plan is judged at |
policyRequired | object | — |
costsOptional | object | — |
instrumentsOptional | object | — |
sessionOptional | object | — |
openOrdersOptional | object[] | — |
volumesOptional | object | — |
Complete JSON Schema
Loading…
Output schema
| Field | Type | Meaning |
|---|---|---|
kindRequired | string | — |
schemaVersionRequired | number | — |
asOfRequired | number | Epoch milliseconds |
planHashRequired | string | — |
portfolioHashRequired | string | — |
marketHashRequired | string | — |
marketAsOfRequired | number | Epoch milliseconds |
beforeRequired | object | — |
afterRequired | object | — |
hypotheticalFillsRequired | object[] | — |
hypotheticalEventsRequired | object[] | — |
estimatesRequired | object | — |
checksRequired | object | — |
alertsRequired | object[] | — |
decisionRequired | object | — |
unverifiableRequired | string[] | — |
monitorStateRequired | object | null | — |
assumptionsRequired | object | — |
diagnosticsRequired | object | — |
contentHashRequired | string | — |
planRequired | object | — |
Complete JSON Schema
Loading…