Get Project Snippet
gitlab_get_project_snippetRetrieve metadata for a GitLab project snippet, optionally including raw content from up to 10 files and specifying a revision with ref.
Instructions
Get a project snippet's metadata. Set include_content=true to also return the raw content of up to 10 files; ref overrides the snippet revision.
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_get_project_snippet"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ref | No | ||
| project_id | No | ||
| snippet_id | Yes | ||
| include_content | No |