Restore from Snapshot
pl_restoreRestore a saved financial plan snapshot in ProjectionLab by generating JavaScript code that, when executed in the browser, reinstates the data via the Plugin API.
Instructions
Read a local snapshot file and return JavaScript strings to restore the data via the Plugin API. Execute each script in the browser using the Playwright or chrome devtools MCP.
The scripts read the API key from sessionStorage, set during pl_setup. If the browser tab was closed since setup, run pl_setup again first.
Important: take a snapshot of the current state BEFORE restoring (run pl_export in the browser, then call pl_snapshot with the result).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| snapshotPath | Yes | Absolute path to the snapshot file to restore |