create_snippet_tool
Create a new snippet in a GitLab project by specifying project ID, title, file name, and content. Control visibility and add a description for context.
Instructions
Create a new snippet in a GitLab project.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| title | Yes | Snippet title | |
| content | Yes | Snippet content | |
| file_name | Yes | File name for the snippet (e.g., "example.py") | |
| project_id | Yes | Project ID or path | |
| visibility | No | Visibility level (private, internal, public) | private |
| description | No | Snippet description (Markdown) |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||