list_issue_links
Retrieve all linked issues for a specific GitLab project issue to understand relationships and dependencies.
Instructions
List all issue links for a specific issue
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
| project_id | No | Project ID or URL-encoded path | |
| issue_iid | No | The internal ID of a project's issue |
Implementation Reference
- schemas.ts:1365-1368 (schema)Input schema definition for the 'list_issue_links' MCP tool, matching GitLab API /projects/:id/issues/:issue_iid/linksexport const ListIssueLinksSchema = z.object({ project_id: z.coerce.string().describe("Project ID or URL-encoded path"), issue_iid: z.coerce.string().describe("The internal ID of a project's issue"), });
- schemas.ts:1359-1362 (schema)Response schema for individual issue links returned by the toolexport const GitLabIssueLinkSchema = z.object({ source_issue: GitLabIssueSchema, target_issue: GitLabIssueSchema, link_type: z.enum(["relates_to", "blocks", "is_blocked_by"]),
- schemas.ts:716-721 (schema)Extended issue schema with link details, explicitly noted as 'used in listing issue links'export const GitLabIssueWithLinkDetailsSchema = GitLabIssueSchema.extend({ issue_link_id: z.coerce.string(), link_type: z.enum(["relates_to", "blocks", "is_blocked_by"]), link_created_at: z.string(), link_updated_at: z.string(), });
- test/readonly-mcp-tests.ts:73-73 (registration)Tool listed as required in readonly MCP tests, confirming its registration in the MCP server{ name: 'list_issue_links', category: 'issue', required: true },