Raw GitLab API via glab
gitlab_apiAccess any GitLab REST API endpoint by providing method, path, and optional fields or headers. Manage issues, merge requests, pipelines, and other GitLab resources.
Instructions
Call GitLab REST endpoints with glab api (method, path, fields, headers)
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": {
"path": "<path>"
},
"name": "gitlab_api"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| method | No | GET | |
| path | Yes | Path below /api/v4, e.g. 'projects/:id/issues' where :id is numeric or URL-encoded path | |
| fields | No | ||
| headers | No |