Commit and push project changes
dreamagent_commit_pushWRITE ACTION — commit ALL pending changes in a DreamAgent project and push them to its private GitHub repo. The commit gets its own entry in the project's session history and version history, so the user can restore/revert to it in the DreamAgent dashboard.
Use it to (a) commit several MCP writes/deletes as ONE version — write and delete with auto_commit=false first — or (b) retry a commit after a failure. Chat-driven edits commit automatically; this tool is for direct file changes made through MCP.
CONFIRM BEFORE CALLING — show the user what is pending (one dreamagent_get_file_diff per touched file) and call only with confirm=true after they agree.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| confirm | No | must be true to execute | |
| message | No | short commit message, e.g. "Add pricing page hero section" (default "MCP edit: project <id>") | |
| project_id | Yes | project to commit |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |