Copy a scenario
copy_scenarioDuplicate a Profitlee scenario and recalculate its outputs with current fee tables, enabling side-by-side comparison without changing the source.
Instructions
Duplicate an existing Profitlee scenario into a new one. Profitlee reads the source inputs server-side and recomputes outputs, so the copy reflects the current fee tables. The new name defaults to "Copy of " unless you pass name. Counts against the saved-scenario limit. Requires PROFITLEE_API_TOKEN.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | Saved Profitlee scenario id returned by list_scenarios or save_scenario. | |
| name | No | Optional name for the copy, up to 120 characters. Defaults to "Copy of <source name>". |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| response | No | Profitlee API response confirming the saved scenario create, update, or delete operation. |