gitlab_add_commit
Create a GitLab commit by specifying project, branch, message, and file actions. Supports creating, updating, deleting, moving, or changing file modes in a single commit.
Instructions
Creates a commit with actions (POST /repository/commits).
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": {
"projectId": "<projectId>",
"branch": "<branch>",
"commitMessage": "<commitMessage>",
"actions": "<actions>"
},
"name": "gitlab_add_commit"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| branch | Yes | ||
| actions | Yes | ||
| projectId | Yes | Numeric ID or path with namespace, e.g. group/project. | |
| startBranch | No | ||
| commitMessage | Yes |