gitlab_summarize_pipeline
Summarize GitLab CI/CD pipeline results by analyzing failed jobs, error messages, and performance metrics. Use this tool to debug pipeline failures and optimize workflow efficiency.
Instructions
Summarize CI/CD pipeline for AI Returns: Pipeline status and key findings Use when: Debugging CI failures with AI Focus: Failed jobs, error messages, duration
Highlights:
Failed job names and stages
Error excerpts
Performance issues
Related tools:
gitlab_list_pipelines: Find pipelines
gitlab_get_pipeline_job_log: Full logs
Input Schema
Name | Required | Description | Default |
---|---|---|---|
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 | |
pipeline_id | Yes | Pipeline ID Type: integer Format: Numeric pipeline identifier Example: 12345 How to find: From pipeline URLs or gitlab_list_pipelines response | |
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": {
"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"
},
"pipeline_id": {
"description": "Pipeline ID\nType: integer\nFormat: Numeric pipeline identifier\nExample: 12345\nHow to find: From pipeline URLs or gitlab_list_pipelines response",
"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": [
"pipeline_id"
],
"type": "object"
}