Skip to content
TotalFinance

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

FieldTypeMeaning
planOptionalobject—
intentOptionalobject—
portfolioRequiredobject | object | string—
marketRequiredobject | string—
asOfRequirednumberEpoch ms — the instant the plan is judged at
policyRequiredobject—
costsOptionalobject—
instrumentsOptionalobject—
sessionOptionalobject—
openOrdersOptionalobject[]—
volumesOptionalobject—
Complete JSON Schema

Loading…

Output schema

FieldTypeMeaning
kindRequiredstring—
schemaVersionRequirednumber—
asOfRequirednumberEpoch milliseconds
planHashRequiredstring—
portfolioHashRequiredstring—
marketHashRequiredstring—
marketAsOfRequirednumberEpoch milliseconds
beforeRequiredobject—
afterRequiredobject—
hypotheticalFillsRequiredobject[]—
hypotheticalEventsRequiredobject[]—
estimatesRequiredobject—
checksRequiredobject—
alertsRequiredobject[]—
decisionRequiredobject—
unverifiableRequiredstring[]—
monitorStateRequiredobject | null—
assumptionsRequiredobject—
diagnosticsRequiredobject—
contentHashRequiredstring—
planRequiredobject—
Complete JSON Schema

Loading…