gitlab_action
Search GitLab projects, retrieve details, list issues and merge requests, and find users using the GitLab REST API. Supports both GitLab.com and self-hosted instances.
Instructions
Interact with the GitLab REST API: search projects, get project details, list issues and merge requests, and look up users. Supports self-hosted GitLab instances.
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_action"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| page | No | Page number. | |
| query | No | Search query string (for search_projects). | |
| state | No | Filter by state: opened, closed, merged. | |
| action | Yes | Action: search_projects, get_project, list_issues, list_mrs, get_user. | |
| labels | No | Comma-separated label names to filter by. | |
| base_url | No | GitLab base URL (default: https://gitlab.com/api/v4). Set for self-hosted instances. | |
| per_page | No | Results per page. | |
| username | No | GitLab username (for get_user). | |
| project_id | No | Project ID or URL-encoded namespace/project path. | |
| access_token | No | GitLab personal access token (PAT). |