Custom REST Read
execute_rest_readExecute arbitrary GET requests to GitLab REST API for read endpoints not covered by dedicated tools. Provide path and optional query parameters.
Instructions
Execute an arbitrary GET request against the GitLab REST API at /api/v4. Open-ended escape hatch for read endpoints not covered by a dedicated tool — e.g. /projects/:id/repository/files, /projects/:id/pipelines/:pipeline_id/test_report, /admin/*. Provide the path beginning with "/" (no host, no /api/v4 prefix) and an optional query object. For writes, use execute_rest_write.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | Yes | Path under /api/v4, beginning with "/" (e.g. "/projects/42/issues" or "/projects/foo%2Fbar/repository/commits/HEAD"). Must not include host, "/api/v4" prefix, or "?" query string. | |
| query | No | Query string parameters (e.g. { state: "opened", per_page: 20 }). Values are coerced to strings. | |
| userCredentials | No | Your GitLab credentials (optional — falls back to the configured env token if not provided) |