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.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"name": "<name>",
"inputs": "<inputs>"
},
"name": "save_scenario"
}
}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. |