gitlab_commit_files
Create a single GitLab commit containing multiple file actions like create, delete, move, update, or change file mode. Specify project, branch, commit message, and actions list.
Instructions
Create one commit with multiple file actions via GitLab commits API.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| project_id | No | GitLab project ID. Omit this field unless the user explicitly provided a value. When omitted, the current runtime config value is used (WORKFLOW_CODE_PROJECT_ID overrides the built-in default when configured). If the runtime config is still unset, the tool returns a missing-parameter error. Do not infer or auto-generate this value. | |
| branch | No | Target branch. | |
| commit_message | No | Commit message. | |
| start_branch | No | Optional source branch when committing to a new branch. | |
| actions | No | Commit actions list. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ok | Yes | Whether the tool call succeeded. | |
| tool | Yes | Tool name. | |
| data | No | Created GitLab commit payload. | |
| error_type | No | Error type when ok=false. | |
| message | No | Error message when ok=false. |