upload_project_file
Upload a file to a GitLab project and get a markdown link to embed in merge request comments or issue descriptions.
Instructions
Upload a file to a GitLab project. Returns a markdown string and URL that can be embedded in MR comments, issue descriptions, etc.
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": {
"project_id": "<project_id>",
"file": "<file>"
},
"name": "upload_project_file"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| file | Yes | Local file path to upload (e.g., "/tmp/screenshot.png") | |
| project_id | Yes | Project ID or path |