scenario · wire operation
Run a scenario set against targets
Revalue every target under every scenario of a Gate B scenario set against a Gate B market snapshot: a scenario-major cell grid with base values, per-cell P&L in local and reporting currency, and per-scenario aggregates. Targets are the serializable kinds — spot assets, Taylor (greeks) positions, and a portfolio bound through Taylor bindings. The result is runScenarios(...) verbatim.
totalfinance.scenario.run- MCP tool name
- totalfinance_scenario_run
- Pack / profiles
- scenario / full, scenarios
- Default discovery
- Opt-in (select its pack or profile)
- Required capabilities
- None
- Effects / authorization
- none / none
- Cost / cancellation
- large / Do not assume inline interruption
- Handle-eligible inputs
- scenarioSet, market
- Idempotency
- not-applicable
Input schema
| Field | Type | Meaning |
|---|---|---|
scenarioSetRequired | object | A Gate B scenario set (totalfinance.scenario-set) |
marketRequired | object | A Gate B market snapshot (totalfinance.market-snapshot); its interior is re-validated by the read door |
targetsRequired | object | object | object[] | Wire targets: kind 'spot' (scenarioTarget.spot), 'taylor' (scenarioTarget.taylor), or 'portfolio' (scenarioTargetsFromPortfolio with Taylor bindings). A custom pricer target is SDK-only. |
reportingCurrencyOptional | string | — |
currencyConversionsOptional | object[] | — |
optionsOptional | object | Execution options; market resolvers and factor handlers are SDK-only callbacks |
Complete JSON Schema
Loading…
Output schema
| Field | Type | Meaning |
|---|---|---|
layoutRequired | object | scenario-major cell layout and the index formula |
scenarioAxisRequired | object[] | — |
targetAxisRequired | object[] | — |
baseRequired | object[] | — |
cellsRequired | object[] | — |
aggregatesRequired | object | — |
assumptionsRequired | object | Applied conventions |
diagnosticsRequired | object | Engine, method, warnings |
Complete JSON Schema
Loading…