Commit (and optionally push) to Overleaf
overleaf_commit_pushCommit local repository changes and push to Overleaf to publish your project. Supports branching and staging specific files.
Instructions
Commit changes in the synced Overleaf repo, optionally to a branch, and push back to Overleaf. Pushing publishes to your Overleaf project — set push=true only when you intend that.
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": {
"message": "<message>"
},
"name": "overleaf_commit_push"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| push | No | Push to Overleaf (default false) | |
| files | No | Specific files to stage (default: all changes) | |
| branch | No | Create/switch to this branch before committing | |
| message | Yes | Commit message | |
| project | No |