run-memory: save_checkpoint
memory_save_checkpoint[run-memory] Call after each completed step with the state you would need to continue (cursor, ids done, partial results; up to 256 KB JSON). Pro saves it (last 20 per run, kept 30 days). Free watch-only saves nothing and returns would_save: exactly what would have been stored. Never put passwords or API keys in state.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| done | No | Optional list of completed item ids, so a resume skips them. | |
| step | Yes | The step you just finished, e.g. "imported page 3 of 10". | |
| state | Yes | JSON state needed to resume. | |
| run_id | Yes | A stable id for this job that survives a crash, e.g. "invoice-import-oct". Use the same id when you restart. |