Execute GitLab Action
gitlab_execute_actionExecute any GitLab action with input validation and token-optimized responses, dispatching directly to the API while enforcing read-only safety.
Instructions
Execute any discovered GitLab platform action with input validation and token-optimized response projection. Dispatches directly to the corresponding API endpoint while enforcing read-only safety restrictions.
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>",
"format": "<format>"
},
"name": "gitlab_execute_action"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| action | Yes | The exact GitLab action name to execute (e.g. 'create_merge_request', 'list_pipelines', 'trigger_push_mirror_sync') | |
| format | Yes | Output format: 'markdown' (default, token-optimized compact table/text for LLM) or 'json' (structured JSON) | markdown |
| params | No | Alias for parameters (for cross-client compatibility) | |
| parameters | No | Key-value parameters for the designated action (as discovered from gitlab_find_actions) |