push_files
Push multiple files to a GitLab repository in a single commit by specifying file paths, content, branch, and commit message. Save time by batching file updates in one atomic operation.
Instructions
Push multiple files to a GitLab repository 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": {
"owner": "<owner>",
"repo": "<repo>",
"branch": "<branch>",
"files": "<files>",
"message": "<message>"
},
"name": "push_files"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| repo | Yes | Project path/name (e.g. 'pro-portal-onboarding-and-retention') | |
| files | Yes | Array of files to push | |
| owner | Yes | Project namespace/path (e.g. 'pro/portal/frontends') or numeric Project ID | |
| branch | Yes | Branch to push to (e.g., 'main' or 'master') | |
| message | Yes | Commit message |