gitlab_summarize_issue
Condense GitLab issue details into concise summaries with AI-friendly truncation. Preserves key information, removes redundancy, and fits context limits for efficient processing.
Instructions
Generate AI-friendly issue summary Returns: Condensed issue information Use when: Processing issues with AI Includes: Title, description, comments, status
Smart truncation:
Preserves key information
Removes redundancy
Fits context limits
Related tools:
gitlab_get_issue: Full details
gitlab_summarize_pipeline: Pipeline summaries
Input Schema
Name | Required | Description | Default |
---|---|---|---|
issue_iid | Yes | Issue number (IID - Internal ID) Type: integer Format: Project-specific issue number (without #) Required: Yes Examples: - 123 (for issue #123) - 4567 (for issue #4567) How to find: Look at issue URL or title - URL: https://gitlab.com/group/project/-/issues/123 → use 123 - Title: "Fix login bug (#123)" → use 123 Note: This is NOT the global issue ID | |
max_length | No | Maximum summary length Type: integer Range: 100-5000 Default: 500 Examples: - 300: Very concise summary - 500: Standard summary - 1000: Detailed summary Use case: Control output size for LLM context | |
project_id | No | Project identifier (auto-detected if not provided) Type: integer OR string Format: numeric ID or 'namespace/project' Optional: Yes - auto-detects from current git repository Examples: - 12345 (numeric ID) - 'gitlab-org/gitlab' (namespace/project path) - 'my-group/my-subgroup/my-project' (nested groups) Note: If in a git repo with GitLab remote, this can be omitted |
Input Schema (JSON Schema)
{
"properties": {
"issue_iid": {
"description": "Issue number (IID - Internal ID)\nType: integer\nFormat: Project-specific issue number (without #)\nRequired: Yes\nExamples:\n - 123 (for issue #123)\n - 4567 (for issue #4567)\nHow to find: Look at issue URL or title\n - URL: https://gitlab.com/group/project/-/issues/123 → use 123\n - Title: \"Fix login bug (#123)\" → use 123\nNote: This is NOT the global issue ID",
"type": "integer"
},
"max_length": {
"default": 500,
"description": "Maximum summary length\nType: integer\nRange: 100-5000\nDefault: 500\nExamples:\n - 300: Very concise summary\n - 500: Standard summary\n - 1000: Detailed summary\nUse case: Control output size for LLM context",
"type": "integer"
},
"project_id": {
"description": "Project identifier (auto-detected if not provided)\nType: integer OR string\nFormat: numeric ID or 'namespace/project'\nOptional: Yes - auto-detects from current git repository\nExamples:\n - 12345 (numeric ID)\n - 'gitlab-org/gitlab' (namespace/project path)\n - 'my-group/my-subgroup/my-project' (nested groups)\nNote: If in a git repo with GitLab remote, this can be omitted",
"type": "string"
}
},
"required": [
"issue_iid"
],
"type": "object"
}