Update Project Snippet
gitlab_update_project_snippetUpdate a GitLab project snippet's title, description, visibility, and files by applying create, update, delete, or move actions to file paths.
Instructions
Update a project snippet's title, description, visibility, or files. Each file change needs action create, update, delete, or move (move requires previous_path).
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": {
"snippet_id": "<snippet_id>"
},
"name": "gitlab_update_project_snippet"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| files | No | ||
| title | No | ||
| project_id | No | ||
| snippet_id | Yes | ||
| visibility | No | ||
| description | No |