push_files
Push multiple files to a GitLab project in a single commit by specifying branch, file paths, contents, and commit message. Batch file changes into one atomic commit to simplify repository updates.
Instructions
Push multiple files to a GitLab project in a single commit
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": {
"branch": "<branch>",
"files": "<files>",
"commit_message": "<commit_message>"
},
"name": "push_files"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| files | Yes | Array of files to push | |
| branch | Yes | Branch to push to | |
| project_id | No | Project ID or complete URL-encoded path to project | |
| commit_message | Yes | Commit message |