Commit files to Lizard Git
repo_commitCommit file changes directly to a Lizard Git branch without cloning, including creates, deletes, renames, safe retries, and optional conflict-aware merging.
Instructions
Commit changes to a branch of a Lizard Git repository, made on the server (no clone needed): each file is new text content, delete: true, or a rename with moveFrom. createFrom makes the branch from that ref when it doesn't exist yet. With expect (the commit you based the change on), a branch that moved meanwhile is merged by the server and only a real conflict fails (409, with the paths). Pass an idempotencyKey to make a retry safe. A commit to a branch a service deploys from starts a deploy, and to a branch with .lizard/workflows starts CI. Uses the Lizard Git API; docs: https://lizard.build/docs/.
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": {
"repo": "<repo>",
"branch": "<branch>",
"message": "<message>",
"files": "<files>"
},
"name": "repo_commit"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| repo | Yes | Lizard Git repository as "owner/name" (repo_list) | |
| files | Yes | ||
| branch | Yes | ||
| expect | No | ||
| message | Yes | ||
| createFrom | No | ||
| idempotencyKey | No |