create_or_update_file
Create or update a file in a GitLab project on a specified branch, with configurable file path, content, and commit message.
Instructions
Create or update a single file in a GitLab project
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "create_or_update_file"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| branch | No | ||
| content | No | ||
| file_path | No | ||
| project_id | No | ||
| previous_path | No | ||
| commit_message | No |