get_opt_result
Get the precomputed result for one scenario of an optimization demo. Returns the verbatim engine output JSON (AMOS for tariff/coffee, SSO output for sso-basic) including the optimal sourcing/production/transport decisions, costs, and any open/close facility variables. ANTI-FABRICATION: every numeric result is verbatim from the optimization engine that ran offline — quote them in your reply, do not round or recompute. Call describe_opt_demo first to learn valid scenario_key formats for each demo.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| demo_id | Yes | Which optimization demo | |
| scenario_key | No | Scenario key within the demo. Format varies per demo — call describe_opt_demo for the exact valid keys before guessing. Tariff uses 'APAC=<N>' where N is one of 0, 7.5, 25, 50, 100. Coffee uses '<configKey>|DSL=<N>' where configKey is T/TA/TS/TAS and N is 20-70 in steps of 5 (10c units of $/gal). sso-basic is single-scenario; scenario_key is ignored. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| content | No | MCP content blocks — single text block with the response body |