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.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"project_id": "<project_id>"
},
"name": "dreamagent_commit_push"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| confirm | No | must be true to execute | |
| message | No | short commit message, e.g. "Update landing hero section" (default "MCP edit: project <id>") | |
| project_id | Yes | project to commit |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |