Commit a version
commitCommits the project's staged conversation draft as a new version and makes it THE CUT the production line renders (isHead: true in the answer). Re-validates coherence (the same blocking/non-blocking report the human sees); force=true overrides a blocking report; as_branch=true keeps the new version as a branch instead, in the version timeline, where it can become the cut later. Requires write. $0.
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": "commit"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| force | No | Override a blocking-coherence gate. | |
| as_branch | No | Keep the commit as a navigable branch INSTEAD of making it the cut the line renders. Default false: a commit is the cut. | |
| project_id | Yes |