Project snippets
gitlab_snippetsCreate, read, update, delete, and retrieve raw content for GitLab project snippets. Handles snippet metadata and file contents within projects.
Instructions
Manages project snippets, including raw content.
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": {
"action": "<action>"
},
"name": "gitlab_snippets"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| title | No | ||
| action | Yes | ||
| content | No | ||
| file_name | No | ||
| project_id | No | Project id or URL-encoded path, e.g. `42` or `group/subgroup/project`. Falls back to GITLAB_PROJECT_ID. | |
| snippet_id | No | ||
| visibility | No | ||
| description | No |