commit_files
Create a single atomic commit with multiple file operations (create, update, delete) and safely advance a feature branch without force-pushing.
Instructions
Create one atomic commit containing multiple file creates, updates, or deletes, then advance a feature branch without force-pushing. File contents are not audited.
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": {
"account": "<account>",
"repository": "<repository>",
"branch": "<branch>",
"expectedHeadSha": "<expectedHeadSha>",
"message": "<message>",
"files": "<files>"
},
"name": "commit_files"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| files | Yes | ||
| branch | Yes | ||
| account | Yes | ||
| message | Yes | ||
| hostname | No | ||
| repository | Yes | Repository in owner/name format | |
| expectedHeadSha | Yes | Current branch head SHA used for optimistic concurrency |