GitLab update issue

gitlab__update_issue

Access

Requires a project integration connection for gitlab.

Call type: Can change resources.

Arguments

FieldTypeRequiredDescription and constraints
projectIdstringYesGitLab numeric project ID or raw namespace/project path
issueIidnumberYesProject-local issue IID
titlestringNoUpdated issue title
descriptionstringNoUpdated issue description
state_eventstringNoclose or reopen
labelsstringNoComma-separated replacement labels
assignee_idsvalue[]NoGitLab user IDs to assign

Example request

Send this JSON-RPC request through an initialized MCP client. Replace sample identifiers and values before calling the tool. See MCP client setup.

json
{
  "jsonrpc": "2.0",
  "id": 1,
  "method": "tools/call",
  "params": {
    "name": "gitlab__update_issue",
    "arguments": {
      "projectId": "example",
      "issueIid": 0
    }
  }
}

Result

No output schema is published for this tool. The input contract does not define its return fields. Inspect the MCP response content and isError; do not assume a fixed object shape. See the gitlab integration reference for provider setup and tool context.

Full schemas

json
{
  "type": "object",
  "properties": {
    "projectId": {
      "type": "string",
      "description": "GitLab numeric project ID or raw namespace/project path"
    },
    "issueIid": {
      "type": "number",
      "description": "Project-local issue IID"
    },
    "title": {
      "type": "string",
      "description": "Updated issue title"
    },
    "description": {
      "type": "string",
      "description": "Updated issue description"
    },
    "state_event": {
      "type": "string",
      "description": "close or reopen"
    },
    "labels": {
      "type": "string",
      "description": "Comma-separated replacement labels"
    },
    "assignee_ids": {
      "type": "array",
      "description": "GitLab user IDs to assign"
    }
  },
  "required": [
    "projectId",
    "issueIid"
  ],
  "description": "Arguments for the gitlab__update_issue tool."
}