Delete repository file
delete_fileDelete a file in a GitLab repository and commit the removal. Requires the last commit ID to guard against conflicts and ensure safe deletion.
Instructions
Delete a repository file and commit the deletion. Supply last_commit_id to guard against concurrent edits.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | Yes | ||
| branch | Yes | ||
| project | Yes | GitLab project ID or full path such as group/project. | |
| author_name | No | ||
| author_email | No | ||
| start_branch | No | ||
| commit_message | Yes | ||
| last_commit_id | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes | GitLab response normalized for model use. |