Save a scenario
save_scenarioCreate a saved profit scenario from your calculator inputs to compare pricing and cost assumptions later.
Instructions
Create a saved Profitlee scenario from a scenario name and calculator inputs. Profitlee validates the inputs and computes outputs server-side. Requires PROFITLEE_API_TOKEN.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | Human-readable scenario name, up to 120 characters. | |
| inputs | Yes | Calculator inputs using the same field meanings and units as calculate_profit. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| response | No | Profitlee API response confirming the saved scenario create, update, or delete operation. |