Save Project to Git
openl_save_projectSave project edits as a new Git revision with a required commit message. Use after making rule changes to record a revision and move the project back to opened status.
Instructions
Save project changes to Git. Works only when project status is EDITING (after opening and making changes). Requires comment (used as revision/commit message). Creates a new revision and transitions project to OPENED. Optional closeAfterSave: true saves and closes in one request. Use after update_table, append_table, or other edits. Does not work for repository 'local'.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| comment | Yes | Required. Comment for the new revision (commit message). Save only works when project status is EDITING; after save a new revision is created and project transitions to OPENED. | |
| projectId | Yes | Project ID returned by backend. Use the exact 'projectId' value from openl_list_projects() response without modification or reformatting. | |
| closeAfterSave | No | Optional. If true, close the project after saving (sends status CLOSED with comment in one request). Use when user asks to 'save and close'. | |
| response_format | No | Response format: 'json' for structured, round-trippable data (default), 'markdown' for human-readable output, 'markdown_concise' for a brief summary (1-2 paragraphs), or 'markdown_detailed' for full details with context | json |