gitlab_upload_project_file
Upload a binary file to a GitLab project's markdown uploads and retrieve its markdown or URL metadata for use in issues or documentation.
Instructions
Upload binary file to project markdown uploads and return markdown/url metadata.
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 tool tries the current runtime config defaults from WORKFLOW_ISSUE_PROJECT_ID or WORKFLOW_CODE_PROJECT_ID. If both are unset, or both are set to different values, the tool returns a missing-parameter error and you must pass project_id explicitly. Do not infer or auto-generate this value. | |
| filename | No | Original file name. | |
| content_base64 | No | File content encoded in base64. | |
| content_type | No | Optional MIME type, e.g. image/png. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ok | Yes | Whether the tool call succeeded. | |
| tool | Yes | Tool name. | |
| data | No | Project markdown upload payload. | |
| error_type | No | Error type when ok=false. | |
| message | No | Error message when ok=false. |