@zereight/mcp-gitlab 2.3.28-next.242 → 2.3.28-next.243
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/build/tools/registry.js +294 -294
- package/build/utils/schema.js +42 -0
- package/package.json +1 -1
package/build/tools/registry.js
CHANGED
|
@@ -1,848 +1,848 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { lazyJSONSchema, withLazyInputSchemas } from "../utils/schema.js";
|
|
2
2
|
import { USE_GITLAB_WIKI, USE_MILESTONE, USE_PIPELINE, SSE, STREAMABLE_HTTP } from "../config.js";
|
|
3
3
|
import { getToolDescription } from "./tool-descriptions.js";
|
|
4
4
|
import { ApproveMergeRequestSchema, BulkPublishDraftNotesSchema, CancelPipelineJobSchema, ErasePipelineJobSchema, CancelPipelineSchema, ConvertWorkItemTypeSchema, CreateBranchSchema, CreateDraftNoteSchema, CreateGroupSchema, CreateGroupWikiPageSchema, CreateIssueLinkSchema, CreateIssueNoteSchema, CreateIssueSchema, CreateIssueEmojiReactionSchema, CreateIssueNoteEmojiReactionSchema, ListIssueEmojiReactionsSchema, ListIssueNoteEmojiReactionsSchema, CreateLabelSchema, MarkAllTodosDoneSchema, ListTodosSchema, MarkTodoDoneSchema, CreateMergeRequestDiscussionNoteSchema, CreateMergeRequestEmojiReactionSchema, ListMergeRequestEmojiReactionsSchema, ListMergeRequestNoteEmojiReactionsSchema, CreateMergeRequestNoteSchema, CreateMergeRequestNoteEmojiReactionSchema, CreateMergeRequestSchema, CreateMergeRequestThreadSchema, CreateNoteSchema, CreateCommitStatusSchema, CreateOrUpdateFileSchema, CreatePipelineSchema, CreateProjectMilestoneSchema, CreateGroupMilestoneSchema, CreateReleaseEvidenceSchema, CreateReleaseSchema, CreateRepositorySchema, CreateTagSchema, CreateTimelineEventSchema, CreateWebhookSchema, CreateWikiPageSchema, CreateWorkItemNoteSchema, CreateWorkItemEmojiReactionSchema, CreateWorkItemNoteEmojiReactionSchema, ListWorkItemEmojiReactionsSchema, ListWorkItemNoteEmojiReactionsSchema, CreateWorkItemSchema, DeleteBranchSchema, GetProtectedBranchSchema, ListProtectedBranchesSchema, ProtectBranchSchema, UpdateProtectedBranchSchema, ProtectTagSchema, UnprotectBranchSchema, UnprotectTagSchema, UpdateDefaultBranchSchema, DeleteDraftNoteSchema, DeleteGroupMilestoneSchema, DeleteGroupWikiPageSchema, DeleteIssueLinkSchema, DeleteIssueSchema, DeleteIssueEmojiReactionSchema, DeleteIssueNoteEmojiReactionSchema, DeleteLabelSchema, DeleteMergeRequestDiscussionNoteSchema, DeleteMergeRequestNoteSchema, DeleteMergeRequestEmojiReactionSchema, DeleteMergeRequestNoteEmojiReactionSchema, DeleteProjectMilestoneSchema, DeleteReleaseSchema, DeleteTagSchema, DeleteWebhookSchema, DeleteWikiPageSchema, DeleteWorkItemEmojiReactionSchema, DeleteWorkItemNoteEmojiReactionSchema, DownloadAttachmentSchema, DownloadAttachmentRemoteSchema, DownloadJobArtifactsSchema, DownloadJobArtifactsRemoteSchema, DownloadReleaseAssetSchema, EditProjectMilestoneSchema, EditGroupMilestoneSchema, ExecuteGraphQLSchema, ForkRepositorySchema, HealthCheckSchema, GetBranchSchema, GetBranchDiffsSchema, GetCommitDiffSchema, GetCommitSchema, GetFileBlameSchema, GetDeploymentSchema, CreateDeploymentSchema, UpdateDeploymentSchema, DeploymentApprovalSchema, ListDeploymentMergeRequestsSchema, GetDraftNoteSchema, GetEnvironmentSchema, UpdateEnvironmentSchema, StopEnvironmentSchema, StopStaleEnvironmentsSchema, DeleteReviewAppEnvironmentsSchema, PipelineTriggerIdSchema, ListPipelineTriggersSchema, CreatePipelineTriggerSchema, UpdatePipelineTriggerSchema, TriggerPipelineSchema, GetFileContentsSchema, GetGroupWikiPageSchema, GetIssueLinkSchema, GetIssueSchema, GetJobArtifactFileSchema, GetLabelSchema, GetMergeRequestApprovalStateSchema, GetMergeRequestConflictsSchema, GetMergeRequestDiffsSchema, GetMergeRequestFileDiffSchema, GetMergeRequestDiscussionSchema, GetMergeRequestNoteSchema, GetMergeRequestNotesSchema, GetMergeRequestSchema, GetMergeRequestVersionSchema, GetMilestoneBurndownEventsSchema, GetMilestoneIssuesSchema, GetMilestoneMergeRequestsSchema, GetGroupMilestoneSchema, GetGroupMilestoneIssuesSchema, GetGroupMilestoneMergeRequestsSchema, GetGroupMilestoneBurndownEventsSchema, GetNamespaceSchema, GetPipelineJobOutputSchema, PipelineJobControlSchema, GetPipelineSchema, GetRunnerSchema, GetPipelineVariablesSchema, UpdatePipelineMetadataSchema, DeletePipelineSchema, PipelineReportSchema, WaitForPipelineSchema, WaitForPipelineJobSchema, PlayPipelineJobsSchema, GetProjectEventsSchema, GetProjectMilestoneSchema, GetProjectSchema, GetReleaseSchema, GetRepositoryTreeSchema, GetTagSchema, GetTagSignatureSchema, GetProtectedTagSchema, GetTimelineEventsSchema, GetUsersSchema, GetUserSchema, WhoAmISchema, GetWebhookEventSchema, GetWikiPageSchema, GetWorkItemSchema, ListBranchesSchema, ListCommitsSchema, ListCommitStatusesSchema, ListCustomFieldDefinitionsSchema, ListDeploymentsSchema, ListDraftNotesSchema, ListEnvironmentsSchema, ListEventsSchema, ListGroupIterationsSchema, GetGroupIterationSchema, UpdateGroupIterationSchema, CreateGroupIterationSchema, ListGroupIterationCadencesSchema, DeleteGroupIterationSchema, ListProjectIterationsSchema, CreateGroupIterationCadenceSchema, UpdateGroupIterationCadenceSchema, DeleteGroupIterationCadenceSchema, ListGroupMilestonesSchema, ListGroupProjectsSchema, ListGroupWikiPagesSchema, ListIssueDiscussionsSchema, ListIssueLinksSchema, ListIssuesSchema, ListJobArtifactsSchema, ListLabelsSchema, ListMergeRequestChangedFilesSchema, ListMergeRequestDiffsSchema, ListMergeRequestDiscussionsSchema, ListMergeRequestPipelinesSchema, ListMergeRequestVersionsSchema, ListMergeRequestsSchema, ListGroupMergeRequestsSchema, ListNamespacesSchema, ListPipelineJobsSchema, ListPipelineTriggerJobsSchema, ValidateCiLintSchema, ValidateProjectCiLintSchema, ListCiCatalogResourcesSchema, GetCiCatalogResourceSchema, ListPipelinesSchema, ListPipelineSchedulesSchema, GetPipelineScheduleSchema, ListPipelineSchedulePipelinesSchema, CreatePipelineScheduleSchema, UpdatePipelineScheduleSchema, DeletePipelineScheduleSchema, PlayPipelineScheduleSchema, TakeOwnershipPipelineScheduleSchema, GetPipelineScheduleVariableSchema, CreatePipelineScheduleVariableSchema, UpdatePipelineScheduleVariableSchema, DeletePipelineScheduleVariableSchema, ListGroupMembersSchema, ListProjectMembersSchema, ListProjectMilestonesSchema, ListProjectsSchema, ListProjectRunnersSchema, ListReleasesSchema, ListTagsSchema, ListProtectedTagsSchema, ListWebhookEventsSchema, ListWebhooksSchema, ListWikiPagesSchema, ListWorkItemNotesSchema, ListWorkItemStatusesSchema, ListWorkItemsSchema, MarkdownUploadSchema, MarkdownUploadRemoteSchema, MergeMergeRequestSchema, MoveWorkItemSchema, MyIssuesSchema, OrbitQuerySchema, OrbitSchemaSchema, OrbitStatusSchema, OrbitToolsSchema, PlayPipelineJobSchema, PromoteProjectMilestoneSchema, PublishDraftNoteSchema, PushFilesSchema, ResolveMergeRequestThreadSchema, RetryPipelineJobSchema, RetryPipelineSchema, SearchCodeSchema, SearchGroupCodeSchema, SearchProjectCodeSchema, SearchRepositoriesSchema, ListSnippetsSchema, GetSnippetSchema, CreateSnippetSchema, UpdateSnippetSchema, DeleteSnippetSchema, UnapproveMergeRequestSchema, RebaseMergeRequestSchema, UpdateDraftNoteSchema, UpdateGroupWikiPageSchema, UpdateIssueNoteSchema, UpdateIssueSchema, UpdateIssueDescriptionPatchSchema, ReorderIssueSchema, UpdateLabelSchema, UpdateProjectSchema, UpdateMergeRequestDiscussionNoteSchema, UpdateMergeRequestNoteSchema, UpdateMergeRequestSchema, UpdateReleaseSchema, UpdateWebhookSchema, UpdateWikiPageSchema, UpdateWorkItemSchema, VerifyNamespaceSchema, ListProjectVariablesSchema, GetProjectVariableSchema, CreateProjectVariableSchema, UpdateProjectVariableSchema, DeleteProjectVariableSchema, ListGroupVariablesSchema, GetGroupVariableSchema, CreateGroupVariableSchema, UpdateGroupVariableSchema, DeleteGroupVariableSchema, GetDependencyProxySettingsSchema, UpdateDependencyProxySettingsSchema, ListDependencyProxyBlobsSchema, PurgeDependencyProxyCacheSchema, ListProjectVulnerabilitiesSchema, GetVulnerabilitySchema, DismissVulnerabilitySchema, ConfirmVulnerabilitySchema, } from "../schemas.js";
|
|
5
5
|
import { GitLabApiRequestSchema } from "./gitlab-api-request.js";
|
|
6
6
|
import { HelpInputSchema } from "../server/mcp-help.js";
|
|
7
7
|
const IS_REMOTE = SSE || STREAMABLE_HTTP;
|
|
8
|
-
// Define all available tools
|
|
9
|
-
export const allTools = [
|
|
8
|
+
// Define all available tools. Input schemas are built on first read (see withLazyInputSchemas).
|
|
9
|
+
export const allTools = withLazyInputSchemas([
|
|
10
10
|
{
|
|
11
11
|
name: "merge_merge_request",
|
|
12
12
|
description: "Merge a merge request",
|
|
13
|
-
inputSchema:
|
|
13
|
+
inputSchema: lazyJSONSchema(MergeMergeRequestSchema),
|
|
14
14
|
},
|
|
15
15
|
{
|
|
16
16
|
name: "approve_merge_request",
|
|
17
17
|
description: "Approve a merge request",
|
|
18
|
-
inputSchema:
|
|
18
|
+
inputSchema: lazyJSONSchema(ApproveMergeRequestSchema),
|
|
19
19
|
},
|
|
20
20
|
{
|
|
21
21
|
name: "unapprove_merge_request",
|
|
22
22
|
description: "Unapprove a merge request",
|
|
23
|
-
inputSchema:
|
|
23
|
+
inputSchema: lazyJSONSchema(UnapproveMergeRequestSchema),
|
|
24
24
|
},
|
|
25
25
|
{
|
|
26
26
|
name: "get_merge_request_approval_state",
|
|
27
27
|
description: "Get merge request approval details including approvers",
|
|
28
|
-
inputSchema:
|
|
28
|
+
inputSchema: lazyJSONSchema(GetMergeRequestApprovalStateSchema),
|
|
29
29
|
},
|
|
30
30
|
{
|
|
31
31
|
name: "get_merge_request_conflicts",
|
|
32
32
|
description: "Get the conflicts of a merge request",
|
|
33
|
-
inputSchema:
|
|
33
|
+
inputSchema: lazyJSONSchema(GetMergeRequestConflictsSchema),
|
|
34
34
|
},
|
|
35
35
|
{
|
|
36
36
|
name: "list_merge_request_pipelines",
|
|
37
37
|
description: "List pipelines for a merge request with pagination",
|
|
38
|
-
inputSchema:
|
|
38
|
+
inputSchema: lazyJSONSchema(ListMergeRequestPipelinesSchema),
|
|
39
39
|
},
|
|
40
40
|
{
|
|
41
41
|
name: "execute_graphql",
|
|
42
42
|
description: "Execute a GitLab GraphQL query",
|
|
43
|
-
inputSchema:
|
|
43
|
+
inputSchema: lazyJSONSchema(ExecuteGraphQLSchema),
|
|
44
44
|
},
|
|
45
45
|
{
|
|
46
46
|
name: "create_or_update_file",
|
|
47
47
|
description: "Create or update a file in a GitLab project",
|
|
48
|
-
inputSchema:
|
|
48
|
+
inputSchema: lazyJSONSchema(CreateOrUpdateFileSchema),
|
|
49
49
|
},
|
|
50
50
|
{
|
|
51
51
|
name: "search_repositories",
|
|
52
52
|
description: "Search for GitLab projects",
|
|
53
|
-
inputSchema:
|
|
53
|
+
inputSchema: lazyJSONSchema(SearchRepositoriesSchema),
|
|
54
54
|
},
|
|
55
55
|
{
|
|
56
56
|
name: "create_repository",
|
|
57
57
|
description: "Create a new GitLab project",
|
|
58
|
-
inputSchema:
|
|
58
|
+
inputSchema: lazyJSONSchema(CreateRepositorySchema),
|
|
59
59
|
},
|
|
60
60
|
{
|
|
61
61
|
name: "create_group",
|
|
62
62
|
description: "Create new group or subgroup",
|
|
63
|
-
inputSchema:
|
|
63
|
+
inputSchema: lazyJSONSchema(CreateGroupSchema),
|
|
64
64
|
},
|
|
65
65
|
{
|
|
66
66
|
name: "get_file_contents",
|
|
67
67
|
description: "Get contents of a file or directory from a GitLab project",
|
|
68
|
-
inputSchema:
|
|
68
|
+
inputSchema: lazyJSONSchema(GetFileContentsSchema),
|
|
69
69
|
},
|
|
70
70
|
{
|
|
71
71
|
name: "push_files",
|
|
72
72
|
description: "Push multiple files in a single commit",
|
|
73
|
-
inputSchema:
|
|
73
|
+
inputSchema: lazyJSONSchema(PushFilesSchema),
|
|
74
74
|
},
|
|
75
75
|
{
|
|
76
76
|
name: "create_issue",
|
|
77
77
|
description: "Create a new issue",
|
|
78
|
-
inputSchema:
|
|
78
|
+
inputSchema: lazyJSONSchema(CreateIssueSchema),
|
|
79
79
|
},
|
|
80
80
|
{
|
|
81
81
|
name: "create_merge_request",
|
|
82
82
|
description: "Create a new merge request",
|
|
83
|
-
inputSchema:
|
|
83
|
+
inputSchema: lazyJSONSchema(CreateMergeRequestSchema),
|
|
84
84
|
},
|
|
85
85
|
{
|
|
86
86
|
name: "fork_repository",
|
|
87
87
|
description: "Fork a project to your account or specified namespace",
|
|
88
|
-
inputSchema:
|
|
88
|
+
inputSchema: lazyJSONSchema(ForkRepositorySchema),
|
|
89
89
|
},
|
|
90
90
|
{
|
|
91
91
|
name: "create_branch",
|
|
92
92
|
description: "Create a new branch",
|
|
93
|
-
inputSchema:
|
|
93
|
+
inputSchema: lazyJSONSchema(CreateBranchSchema),
|
|
94
94
|
},
|
|
95
95
|
{
|
|
96
96
|
name: "get_branch",
|
|
97
97
|
description: "Get branch details (commit, protection status)",
|
|
98
|
-
inputSchema:
|
|
98
|
+
inputSchema: lazyJSONSchema(GetBranchSchema),
|
|
99
99
|
},
|
|
100
100
|
{
|
|
101
101
|
name: "list_branches",
|
|
102
102
|
description: "List branches in project with search filter",
|
|
103
|
-
inputSchema:
|
|
103
|
+
inputSchema: lazyJSONSchema(ListBranchesSchema),
|
|
104
104
|
},
|
|
105
105
|
{
|
|
106
106
|
name: "delete_branch",
|
|
107
107
|
description: "Delete branch from project",
|
|
108
|
-
inputSchema:
|
|
108
|
+
inputSchema: lazyJSONSchema(DeleteBranchSchema),
|
|
109
109
|
},
|
|
110
110
|
{
|
|
111
111
|
name: "list_protected_branches",
|
|
112
112
|
description: "List protected branches in a project, supports search filter",
|
|
113
|
-
inputSchema:
|
|
113
|
+
inputSchema: lazyJSONSchema(ListProtectedBranchesSchema),
|
|
114
114
|
},
|
|
115
115
|
{
|
|
116
116
|
name: "get_protected_branch",
|
|
117
117
|
description: "Get details of a single protected branch (access levels, force push settings)",
|
|
118
|
-
inputSchema:
|
|
118
|
+
inputSchema: lazyJSONSchema(GetProtectedBranchSchema),
|
|
119
119
|
},
|
|
120
120
|
{
|
|
121
121
|
name: "protect_branch",
|
|
122
122
|
description: "Protect a repository branch (set push/merge/unprotect access levels)",
|
|
123
|
-
inputSchema:
|
|
123
|
+
inputSchema: lazyJSONSchema(ProtectBranchSchema),
|
|
124
124
|
},
|
|
125
125
|
{
|
|
126
126
|
name: "update_protected_branch",
|
|
127
127
|
description: "Update an existing protected branch rule in place (access levels, force push, code owner approval)",
|
|
128
|
-
inputSchema:
|
|
128
|
+
inputSchema: lazyJSONSchema(UpdateProtectedBranchSchema),
|
|
129
129
|
},
|
|
130
130
|
{
|
|
131
131
|
name: "unprotect_branch",
|
|
132
132
|
description: "Remove protection from a previously protected branch",
|
|
133
|
-
inputSchema:
|
|
133
|
+
inputSchema: lazyJSONSchema(UnprotectBranchSchema),
|
|
134
134
|
},
|
|
135
135
|
{
|
|
136
136
|
name: "update_default_branch",
|
|
137
137
|
description: "Change the default branch of a project",
|
|
138
|
-
inputSchema:
|
|
138
|
+
inputSchema: lazyJSONSchema(UpdateDefaultBranchSchema),
|
|
139
139
|
},
|
|
140
140
|
{
|
|
141
141
|
name: "get_merge_request",
|
|
142
142
|
description: "Get details of a merge request (merge_request_iid or source_branch required). Set include_summaries=true for deployment/commit/approval summaries",
|
|
143
|
-
inputSchema:
|
|
143
|
+
inputSchema: lazyJSONSchema(GetMergeRequestSchema),
|
|
144
144
|
},
|
|
145
145
|
{
|
|
146
146
|
name: "get_merge_request_diffs",
|
|
147
147
|
description: "Get the changes/diffs of a merge request (merge_request_iid or source_branch required)",
|
|
148
|
-
inputSchema:
|
|
148
|
+
inputSchema: lazyJSONSchema(GetMergeRequestDiffsSchema),
|
|
149
149
|
},
|
|
150
150
|
{
|
|
151
151
|
name: "list_merge_request_changed_files",
|
|
152
152
|
description: "List changed file paths in a merge request without diff content (merge_request_iid or source_branch required)",
|
|
153
|
-
inputSchema:
|
|
153
|
+
inputSchema: lazyJSONSchema(ListMergeRequestChangedFilesSchema),
|
|
154
154
|
},
|
|
155
155
|
{
|
|
156
156
|
name: "list_merge_request_diffs",
|
|
157
157
|
description: "List merge request diffs with pagination (merge_request_iid or source_branch required)",
|
|
158
|
-
inputSchema:
|
|
158
|
+
inputSchema: lazyJSONSchema(ListMergeRequestDiffsSchema),
|
|
159
159
|
},
|
|
160
160
|
{
|
|
161
161
|
name: "get_merge_request_file_diff",
|
|
162
162
|
description: "Get diffs for specific files from a merge request (merge_request_iid or source_branch required)",
|
|
163
|
-
inputSchema:
|
|
163
|
+
inputSchema: lazyJSONSchema(GetMergeRequestFileDiffSchema),
|
|
164
164
|
},
|
|
165
165
|
{
|
|
166
166
|
name: "list_merge_request_versions",
|
|
167
167
|
description: "List all versions of a merge request",
|
|
168
|
-
inputSchema:
|
|
168
|
+
inputSchema: lazyJSONSchema(ListMergeRequestVersionsSchema),
|
|
169
169
|
},
|
|
170
170
|
{
|
|
171
171
|
name: "get_merge_request_version",
|
|
172
172
|
description: "Get a specific version of a merge request",
|
|
173
|
-
inputSchema:
|
|
173
|
+
inputSchema: lazyJSONSchema(GetMergeRequestVersionSchema),
|
|
174
174
|
},
|
|
175
175
|
{
|
|
176
176
|
name: "get_branch_diffs",
|
|
177
177
|
description: "Get diffs between two branches or commits",
|
|
178
|
-
inputSchema:
|
|
178
|
+
inputSchema: lazyJSONSchema(GetBranchDiffsSchema),
|
|
179
179
|
},
|
|
180
180
|
{
|
|
181
181
|
name: "update_merge_request",
|
|
182
182
|
description: "Update a merge request (merge_request_iid or source_branch required)",
|
|
183
|
-
inputSchema:
|
|
183
|
+
inputSchema: lazyJSONSchema(UpdateMergeRequestSchema),
|
|
184
184
|
},
|
|
185
185
|
{
|
|
186
186
|
name: "create_note",
|
|
187
187
|
description: "Create a new note (comment) to an issue or merge request",
|
|
188
|
-
inputSchema:
|
|
188
|
+
inputSchema: lazyJSONSchema(CreateNoteSchema),
|
|
189
189
|
},
|
|
190
190
|
{
|
|
191
191
|
name: "create_merge_request_thread",
|
|
192
192
|
description: "Create a new thread on a merge request",
|
|
193
|
-
inputSchema:
|
|
193
|
+
inputSchema: lazyJSONSchema(CreateMergeRequestThreadSchema),
|
|
194
194
|
},
|
|
195
195
|
{
|
|
196
196
|
name: "resolve_merge_request_thread",
|
|
197
197
|
description: "Resolve a thread on a merge request",
|
|
198
|
-
inputSchema:
|
|
198
|
+
inputSchema: lazyJSONSchema(ResolveMergeRequestThreadSchema),
|
|
199
199
|
},
|
|
200
200
|
{
|
|
201
201
|
name: "mr_discussions",
|
|
202
202
|
description: "List discussion items for a merge request",
|
|
203
|
-
inputSchema:
|
|
203
|
+
inputSchema: lazyJSONSchema(ListMergeRequestDiscussionsSchema),
|
|
204
204
|
},
|
|
205
205
|
{
|
|
206
206
|
name: "get_merge_request_discussion",
|
|
207
207
|
description: "Get a single discussion item for a merge request",
|
|
208
|
-
inputSchema:
|
|
208
|
+
inputSchema: lazyJSONSchema(GetMergeRequestDiscussionSchema),
|
|
209
209
|
},
|
|
210
210
|
{
|
|
211
211
|
name: "delete_merge_request_discussion_note",
|
|
212
212
|
description: "Delete a discussion note on a merge request",
|
|
213
|
-
inputSchema:
|
|
213
|
+
inputSchema: lazyJSONSchema(DeleteMergeRequestDiscussionNoteSchema),
|
|
214
214
|
},
|
|
215
215
|
{
|
|
216
216
|
name: "update_merge_request_discussion_note",
|
|
217
217
|
description: "Update a discussion note on a merge request",
|
|
218
|
-
inputSchema:
|
|
218
|
+
inputSchema: lazyJSONSchema(UpdateMergeRequestDiscussionNoteSchema),
|
|
219
219
|
},
|
|
220
220
|
{
|
|
221
221
|
name: "create_merge_request_discussion_note",
|
|
222
222
|
description: "Add a new discussion note to an existing merge request thread",
|
|
223
|
-
inputSchema:
|
|
223
|
+
inputSchema: lazyJSONSchema(CreateMergeRequestDiscussionNoteSchema),
|
|
224
224
|
},
|
|
225
225
|
{
|
|
226
226
|
name: "create_merge_request_note",
|
|
227
227
|
description: "Add a new note to a merge request",
|
|
228
|
-
inputSchema:
|
|
228
|
+
inputSchema: lazyJSONSchema(CreateMergeRequestNoteSchema),
|
|
229
229
|
},
|
|
230
230
|
{
|
|
231
231
|
name: "delete_merge_request_note",
|
|
232
232
|
description: "Delete an existing merge request note",
|
|
233
|
-
inputSchema:
|
|
233
|
+
inputSchema: lazyJSONSchema(DeleteMergeRequestNoteSchema),
|
|
234
234
|
},
|
|
235
235
|
{
|
|
236
236
|
name: "get_merge_request_note",
|
|
237
237
|
description: "Get a specific note for a merge request",
|
|
238
|
-
inputSchema:
|
|
238
|
+
inputSchema: lazyJSONSchema(GetMergeRequestNoteSchema),
|
|
239
239
|
},
|
|
240
240
|
{
|
|
241
241
|
name: "get_merge_request_notes",
|
|
242
242
|
description: "List notes for a merge request",
|
|
243
|
-
inputSchema:
|
|
243
|
+
inputSchema: lazyJSONSchema(GetMergeRequestNotesSchema),
|
|
244
244
|
},
|
|
245
245
|
{
|
|
246
246
|
name: "update_merge_request_note",
|
|
247
247
|
description: "Modify an existing merge request note",
|
|
248
|
-
inputSchema:
|
|
248
|
+
inputSchema: lazyJSONSchema(UpdateMergeRequestNoteSchema),
|
|
249
249
|
},
|
|
250
250
|
{
|
|
251
251
|
name: "get_draft_note",
|
|
252
252
|
description: "Get a single draft note from a merge request",
|
|
253
|
-
inputSchema:
|
|
253
|
+
inputSchema: lazyJSONSchema(GetDraftNoteSchema),
|
|
254
254
|
},
|
|
255
255
|
{
|
|
256
256
|
name: "list_draft_notes",
|
|
257
257
|
description: "List draft notes for a merge request",
|
|
258
|
-
inputSchema:
|
|
258
|
+
inputSchema: lazyJSONSchema(ListDraftNotesSchema),
|
|
259
259
|
},
|
|
260
260
|
{
|
|
261
261
|
name: "create_draft_note",
|
|
262
262
|
description: "Create a draft note for a merge request",
|
|
263
|
-
inputSchema:
|
|
263
|
+
inputSchema: lazyJSONSchema(CreateDraftNoteSchema),
|
|
264
264
|
},
|
|
265
265
|
{
|
|
266
266
|
name: "update_draft_note",
|
|
267
267
|
description: "Update an existing draft note",
|
|
268
|
-
inputSchema:
|
|
268
|
+
inputSchema: lazyJSONSchema(UpdateDraftNoteSchema),
|
|
269
269
|
},
|
|
270
270
|
{
|
|
271
271
|
name: "delete_draft_note",
|
|
272
272
|
description: "Delete a draft note",
|
|
273
|
-
inputSchema:
|
|
273
|
+
inputSchema: lazyJSONSchema(DeleteDraftNoteSchema),
|
|
274
274
|
},
|
|
275
275
|
{
|
|
276
276
|
name: "publish_draft_note",
|
|
277
277
|
description: "Publish a single draft note",
|
|
278
|
-
inputSchema:
|
|
278
|
+
inputSchema: lazyJSONSchema(PublishDraftNoteSchema),
|
|
279
279
|
},
|
|
280
280
|
{
|
|
281
281
|
name: "bulk_publish_draft_notes",
|
|
282
282
|
description: "Publish all draft notes for a merge request. Optionally sets reviewer_state and posts a summary note (GitLab 19.2+). Can set reviewer_state even with no drafts.",
|
|
283
|
-
inputSchema:
|
|
283
|
+
inputSchema: lazyJSONSchema(BulkPublishDraftNotesSchema),
|
|
284
284
|
},
|
|
285
285
|
// --- Merge request emoji reaction tools ---
|
|
286
286
|
{
|
|
287
287
|
name: "list_merge_request_emoji_reactions",
|
|
288
288
|
description: "List all emoji reactions on a merge request",
|
|
289
|
-
inputSchema:
|
|
289
|
+
inputSchema: lazyJSONSchema(ListMergeRequestEmojiReactionsSchema),
|
|
290
290
|
},
|
|
291
291
|
{
|
|
292
292
|
name: "list_merge_request_note_emoji_reactions",
|
|
293
293
|
description: "List all emoji reactions on a merge request note. Pass discussion_id for discussion thread replies.",
|
|
294
|
-
inputSchema:
|
|
294
|
+
inputSchema: lazyJSONSchema(ListMergeRequestNoteEmojiReactionsSchema),
|
|
295
295
|
},
|
|
296
296
|
{
|
|
297
297
|
name: "create_merge_request_emoji_reaction",
|
|
298
298
|
description: "Add an emoji reaction to a merge request (e.g. thumbsup, rocket, eyes)",
|
|
299
|
-
inputSchema:
|
|
299
|
+
inputSchema: lazyJSONSchema(CreateMergeRequestEmojiReactionSchema),
|
|
300
300
|
},
|
|
301
301
|
{
|
|
302
302
|
name: "delete_merge_request_emoji_reaction",
|
|
303
303
|
description: "Remove an emoji reaction from a merge request",
|
|
304
|
-
inputSchema:
|
|
304
|
+
inputSchema: lazyJSONSchema(DeleteMergeRequestEmojiReactionSchema),
|
|
305
305
|
},
|
|
306
306
|
{
|
|
307
307
|
name: "create_merge_request_note_emoji_reaction",
|
|
308
308
|
description: "Add an emoji reaction to a merge request note. Pass discussion_id for discussion thread replies.",
|
|
309
|
-
inputSchema:
|
|
309
|
+
inputSchema: lazyJSONSchema(CreateMergeRequestNoteEmojiReactionSchema),
|
|
310
310
|
},
|
|
311
311
|
{
|
|
312
312
|
name: "delete_merge_request_note_emoji_reaction",
|
|
313
313
|
description: "Remove an emoji reaction from a merge request note. Pass discussion_id for discussion thread replies.",
|
|
314
|
-
inputSchema:
|
|
314
|
+
inputSchema: lazyJSONSchema(DeleteMergeRequestNoteEmojiReactionSchema),
|
|
315
315
|
},
|
|
316
316
|
{
|
|
317
317
|
name: "update_issue_note",
|
|
318
318
|
description: "Modify an existing issue thread note",
|
|
319
|
-
inputSchema:
|
|
319
|
+
inputSchema: lazyJSONSchema(UpdateIssueNoteSchema),
|
|
320
320
|
},
|
|
321
321
|
{
|
|
322
322
|
name: "create_issue_note",
|
|
323
323
|
description: "Add a note to an issue, optionally replying to a discussion thread",
|
|
324
|
-
inputSchema:
|
|
324
|
+
inputSchema: lazyJSONSchema(CreateIssueNoteSchema),
|
|
325
325
|
},
|
|
326
326
|
// --- Issue emoji reaction tools ---
|
|
327
327
|
{
|
|
328
328
|
name: "list_issue_emoji_reactions",
|
|
329
329
|
description: "List all emoji reactions on an issue",
|
|
330
|
-
inputSchema:
|
|
330
|
+
inputSchema: lazyJSONSchema(ListIssueEmojiReactionsSchema),
|
|
331
331
|
},
|
|
332
332
|
{
|
|
333
333
|
name: "list_issue_note_emoji_reactions",
|
|
334
334
|
description: "List all emoji reactions on an issue note. Pass discussion_id for discussion thread replies.",
|
|
335
|
-
inputSchema:
|
|
335
|
+
inputSchema: lazyJSONSchema(ListIssueNoteEmojiReactionsSchema),
|
|
336
336
|
},
|
|
337
337
|
{
|
|
338
338
|
name: "create_issue_emoji_reaction",
|
|
339
339
|
description: "Add an emoji reaction to an issue (e.g. thumbsup, rocket, eyes)",
|
|
340
|
-
inputSchema:
|
|
340
|
+
inputSchema: lazyJSONSchema(CreateIssueEmojiReactionSchema),
|
|
341
341
|
},
|
|
342
342
|
{
|
|
343
343
|
name: "delete_issue_emoji_reaction",
|
|
344
344
|
description: "Remove an emoji reaction from an issue",
|
|
345
|
-
inputSchema:
|
|
345
|
+
inputSchema: lazyJSONSchema(DeleteIssueEmojiReactionSchema),
|
|
346
346
|
},
|
|
347
347
|
{
|
|
348
348
|
name: "create_issue_note_emoji_reaction",
|
|
349
349
|
description: "Add an emoji reaction to an issue note. Pass discussion_id for discussion thread replies.",
|
|
350
|
-
inputSchema:
|
|
350
|
+
inputSchema: lazyJSONSchema(CreateIssueNoteEmojiReactionSchema),
|
|
351
351
|
},
|
|
352
352
|
{
|
|
353
353
|
name: "delete_issue_note_emoji_reaction",
|
|
354
354
|
description: "Remove an emoji reaction from an issue note. Pass discussion_id for discussion thread replies.",
|
|
355
|
-
inputSchema:
|
|
355
|
+
inputSchema: lazyJSONSchema(DeleteIssueNoteEmojiReactionSchema),
|
|
356
356
|
},
|
|
357
357
|
{
|
|
358
358
|
name: "list_issues",
|
|
359
359
|
description: "List issues (default: created by current user; use scope='all' for all)",
|
|
360
|
-
inputSchema:
|
|
360
|
+
inputSchema: lazyJSONSchema(ListIssuesSchema),
|
|
361
361
|
},
|
|
362
362
|
{
|
|
363
363
|
name: "my_issues",
|
|
364
364
|
description: "List issues assigned to the authenticated user",
|
|
365
|
-
inputSchema:
|
|
365
|
+
inputSchema: lazyJSONSchema(MyIssuesSchema),
|
|
366
366
|
},
|
|
367
367
|
{
|
|
368
368
|
name: "get_issue",
|
|
369
369
|
description: "Get one issue. Slim nested milestone by default; full_response=true for the complete milestone",
|
|
370
|
-
inputSchema:
|
|
370
|
+
inputSchema: lazyJSONSchema(GetIssueSchema),
|
|
371
371
|
},
|
|
372
372
|
{
|
|
373
373
|
name: "update_issue",
|
|
374
374
|
description: "Update an issue. Slim confirmation by default; full_response=true for the complete object",
|
|
375
|
-
inputSchema:
|
|
375
|
+
inputSchema: lazyJSONSchema(UpdateIssueSchema),
|
|
376
376
|
},
|
|
377
377
|
{
|
|
378
378
|
name: "update_issue_description_patch",
|
|
379
379
|
description: "Patch an issue description (search/replace or unified diff) without resending the full body. dry_run previews; create_note summarizes",
|
|
380
|
-
inputSchema:
|
|
380
|
+
inputSchema: lazyJSONSchema(UpdateIssueDescriptionPatchSchema),
|
|
381
381
|
},
|
|
382
382
|
{
|
|
383
383
|
name: "reorder_issue",
|
|
384
384
|
description: "Move an issue within the manual sort order shown on issue boards. move_after_id and move_before_id take the neighbor issue's global id (the `id` field), not its iid; pass at least one. Returns the reordered issue.",
|
|
385
|
-
inputSchema:
|
|
385
|
+
inputSchema: lazyJSONSchema(ReorderIssueSchema),
|
|
386
386
|
},
|
|
387
387
|
{
|
|
388
388
|
name: "delete_issue",
|
|
389
389
|
description: "Delete an issue",
|
|
390
|
-
inputSchema:
|
|
390
|
+
inputSchema: lazyJSONSchema(DeleteIssueSchema),
|
|
391
391
|
},
|
|
392
392
|
{
|
|
393
393
|
name: "list_todos",
|
|
394
394
|
description: "List GitLab to-do items for the current user",
|
|
395
|
-
inputSchema:
|
|
395
|
+
inputSchema: lazyJSONSchema(ListTodosSchema),
|
|
396
396
|
},
|
|
397
397
|
{
|
|
398
398
|
name: "mark_todo_done",
|
|
399
399
|
description: "Mark a GitLab to-do item as done",
|
|
400
|
-
inputSchema:
|
|
400
|
+
inputSchema: lazyJSONSchema(MarkTodoDoneSchema),
|
|
401
401
|
},
|
|
402
402
|
{
|
|
403
403
|
name: "mark_all_todos_done",
|
|
404
404
|
description: "Mark all pending GitLab to-do items as done for the current user",
|
|
405
|
-
inputSchema:
|
|
405
|
+
inputSchema: lazyJSONSchema(MarkAllTodosDoneSchema),
|
|
406
406
|
},
|
|
407
407
|
{
|
|
408
408
|
name: "list_issue_links",
|
|
409
409
|
description: "List all issue links for a specific issue",
|
|
410
|
-
inputSchema:
|
|
410
|
+
inputSchema: lazyJSONSchema(ListIssueLinksSchema),
|
|
411
411
|
},
|
|
412
412
|
{
|
|
413
413
|
name: "list_issue_discussions",
|
|
414
414
|
description: "List discussions for an issue",
|
|
415
|
-
inputSchema:
|
|
415
|
+
inputSchema: lazyJSONSchema(ListIssueDiscussionsSchema),
|
|
416
416
|
},
|
|
417
417
|
{
|
|
418
418
|
name: "get_issue_link",
|
|
419
419
|
description: "Get a specific issue link",
|
|
420
|
-
inputSchema:
|
|
420
|
+
inputSchema: lazyJSONSchema(GetIssueLinkSchema),
|
|
421
421
|
},
|
|
422
422
|
{
|
|
423
423
|
name: "create_issue_link",
|
|
424
424
|
description: "Create an issue link between two issues",
|
|
425
|
-
inputSchema:
|
|
425
|
+
inputSchema: lazyJSONSchema(CreateIssueLinkSchema),
|
|
426
426
|
},
|
|
427
427
|
{
|
|
428
428
|
name: "delete_issue_link",
|
|
429
429
|
description: "Delete an issue link",
|
|
430
|
-
inputSchema:
|
|
430
|
+
inputSchema: lazyJSONSchema(DeleteIssueLinkSchema),
|
|
431
431
|
},
|
|
432
432
|
{
|
|
433
433
|
name: "list_namespaces",
|
|
434
434
|
description: "List all namespaces (users and groups) available to the current user. Filter by kind='group' for groups only.",
|
|
435
|
-
inputSchema:
|
|
435
|
+
inputSchema: lazyJSONSchema(ListNamespacesSchema),
|
|
436
436
|
},
|
|
437
437
|
{
|
|
438
438
|
name: "get_namespace",
|
|
439
439
|
description: "Get details of a namespace (user or group) by ID or path. Groups are namespaces with kind='group'.",
|
|
440
|
-
inputSchema:
|
|
440
|
+
inputSchema: lazyJSONSchema(GetNamespaceSchema),
|
|
441
441
|
},
|
|
442
442
|
{
|
|
443
443
|
name: "verify_namespace",
|
|
444
444
|
description: "Verify if a namespace path exists. Use parent_id to scope the check to a specific parent namespace — required for nested namespaces where the same path may exist under different parents.",
|
|
445
|
-
inputSchema:
|
|
445
|
+
inputSchema: lazyJSONSchema(VerifyNamespaceSchema),
|
|
446
446
|
},
|
|
447
447
|
{
|
|
448
448
|
name: "get_project",
|
|
449
449
|
description: "Get details of a specific project",
|
|
450
|
-
inputSchema:
|
|
450
|
+
inputSchema: lazyJSONSchema(GetProjectSchema),
|
|
451
451
|
},
|
|
452
452
|
{
|
|
453
453
|
name: "list_projects",
|
|
454
454
|
description: "List projects accessible by the current user",
|
|
455
|
-
inputSchema:
|
|
455
|
+
inputSchema: lazyJSONSchema(ListProjectsSchema),
|
|
456
456
|
},
|
|
457
457
|
{
|
|
458
458
|
name: "update_project",
|
|
459
459
|
description: "Update project settings such as description, visibility, default branch, and feature access levels",
|
|
460
|
-
inputSchema:
|
|
460
|
+
inputSchema: lazyJSONSchema(UpdateProjectSchema),
|
|
461
461
|
},
|
|
462
462
|
{
|
|
463
463
|
name: "list_project_members",
|
|
464
464
|
description: "List members of a GitLab project",
|
|
465
|
-
inputSchema:
|
|
465
|
+
inputSchema: lazyJSONSchema(ListProjectMembersSchema),
|
|
466
466
|
},
|
|
467
467
|
{
|
|
468
468
|
name: "list_group_members",
|
|
469
469
|
description: "List members of a GitLab group with optional name or username search",
|
|
470
|
-
inputSchema:
|
|
470
|
+
inputSchema: lazyJSONSchema(ListGroupMembersSchema),
|
|
471
471
|
},
|
|
472
472
|
{
|
|
473
473
|
name: "list_labels",
|
|
474
474
|
description: "List labels for a project",
|
|
475
|
-
inputSchema:
|
|
475
|
+
inputSchema: lazyJSONSchema(ListLabelsSchema),
|
|
476
476
|
},
|
|
477
477
|
{
|
|
478
478
|
name: "get_label",
|
|
479
479
|
description: "Get a single label from a project",
|
|
480
|
-
inputSchema:
|
|
480
|
+
inputSchema: lazyJSONSchema(GetLabelSchema),
|
|
481
481
|
},
|
|
482
482
|
{
|
|
483
483
|
name: "create_label",
|
|
484
484
|
description: "Create a new label in a project",
|
|
485
|
-
inputSchema:
|
|
485
|
+
inputSchema: lazyJSONSchema(CreateLabelSchema),
|
|
486
486
|
},
|
|
487
487
|
{
|
|
488
488
|
name: "update_label",
|
|
489
489
|
description: "Update an existing label in a project",
|
|
490
|
-
inputSchema:
|
|
490
|
+
inputSchema: lazyJSONSchema(UpdateLabelSchema),
|
|
491
491
|
},
|
|
492
492
|
{
|
|
493
493
|
name: "delete_label",
|
|
494
494
|
description: "Delete a label from a project",
|
|
495
|
-
inputSchema:
|
|
495
|
+
inputSchema: lazyJSONSchema(DeleteLabelSchema),
|
|
496
496
|
},
|
|
497
497
|
{
|
|
498
498
|
name: "list_group_projects",
|
|
499
499
|
description: "List projects in a group",
|
|
500
|
-
inputSchema:
|
|
500
|
+
inputSchema: lazyJSONSchema(ListGroupProjectsSchema),
|
|
501
501
|
},
|
|
502
502
|
{
|
|
503
503
|
name: "list_wiki_pages",
|
|
504
504
|
description: "List wiki pages in a project",
|
|
505
|
-
inputSchema:
|
|
505
|
+
inputSchema: lazyJSONSchema(ListWikiPagesSchema),
|
|
506
506
|
},
|
|
507
507
|
{
|
|
508
508
|
name: "get_wiki_page",
|
|
509
509
|
description: "Get details of a specific wiki page",
|
|
510
|
-
inputSchema:
|
|
510
|
+
inputSchema: lazyJSONSchema(GetWikiPageSchema),
|
|
511
511
|
},
|
|
512
512
|
{
|
|
513
513
|
name: "create_wiki_page",
|
|
514
514
|
description: "Create a wiki page in a project",
|
|
515
|
-
inputSchema:
|
|
515
|
+
inputSchema: lazyJSONSchema(CreateWikiPageSchema),
|
|
516
516
|
},
|
|
517
517
|
{
|
|
518
518
|
name: "update_wiki_page",
|
|
519
519
|
description: "Update a wiki page in a project",
|
|
520
|
-
inputSchema:
|
|
520
|
+
inputSchema: lazyJSONSchema(UpdateWikiPageSchema),
|
|
521
521
|
},
|
|
522
522
|
{
|
|
523
523
|
name: "delete_wiki_page",
|
|
524
524
|
description: "Delete a wiki page from a project",
|
|
525
|
-
inputSchema:
|
|
525
|
+
inputSchema: lazyJSONSchema(DeleteWikiPageSchema),
|
|
526
526
|
},
|
|
527
527
|
{
|
|
528
528
|
name: "list_group_wiki_pages",
|
|
529
529
|
description: "List wiki pages in a group",
|
|
530
|
-
inputSchema:
|
|
530
|
+
inputSchema: lazyJSONSchema(ListGroupWikiPagesSchema),
|
|
531
531
|
},
|
|
532
532
|
{
|
|
533
533
|
name: "get_group_wiki_page",
|
|
534
534
|
description: "Get details of a specific group wiki page",
|
|
535
|
-
inputSchema:
|
|
535
|
+
inputSchema: lazyJSONSchema(GetGroupWikiPageSchema),
|
|
536
536
|
},
|
|
537
537
|
{
|
|
538
538
|
name: "create_group_wiki_page",
|
|
539
539
|
description: "Create a wiki page in a group",
|
|
540
|
-
inputSchema:
|
|
540
|
+
inputSchema: lazyJSONSchema(CreateGroupWikiPageSchema),
|
|
541
541
|
},
|
|
542
542
|
{
|
|
543
543
|
name: "update_group_wiki_page",
|
|
544
544
|
description: "Update a wiki page in a group",
|
|
545
|
-
inputSchema:
|
|
545
|
+
inputSchema: lazyJSONSchema(UpdateGroupWikiPageSchema),
|
|
546
546
|
},
|
|
547
547
|
{
|
|
548
548
|
name: "delete_group_wiki_page",
|
|
549
549
|
description: "Delete a wiki page from a group",
|
|
550
|
-
inputSchema:
|
|
550
|
+
inputSchema: lazyJSONSchema(DeleteGroupWikiPageSchema),
|
|
551
551
|
},
|
|
552
552
|
{
|
|
553
553
|
name: "get_repository_tree",
|
|
554
554
|
description: "List files and directories in a repository",
|
|
555
|
-
inputSchema:
|
|
555
|
+
inputSchema: lazyJSONSchema(GetRepositoryTreeSchema),
|
|
556
556
|
},
|
|
557
557
|
{
|
|
558
558
|
name: "list_pipelines",
|
|
559
559
|
description: "List pipelines with filtering options",
|
|
560
|
-
inputSchema:
|
|
560
|
+
inputSchema: lazyJSONSchema(ListPipelinesSchema),
|
|
561
561
|
},
|
|
562
562
|
{
|
|
563
563
|
name: "get_pipeline",
|
|
564
564
|
description: "Get details of a specific pipeline",
|
|
565
|
-
inputSchema:
|
|
565
|
+
inputSchema: lazyJSONSchema(GetPipelineSchema),
|
|
566
566
|
},
|
|
567
567
|
{
|
|
568
568
|
name: "get_pipeline_variables",
|
|
569
569
|
description: "Get variables configured for a pipeline",
|
|
570
|
-
inputSchema:
|
|
570
|
+
inputSchema: lazyJSONSchema(GetPipelineVariablesSchema),
|
|
571
571
|
},
|
|
572
572
|
{
|
|
573
573
|
name: "get_pipeline_test_report",
|
|
574
574
|
description: "Get pipeline test report",
|
|
575
|
-
inputSchema:
|
|
575
|
+
inputSchema: lazyJSONSchema(PipelineReportSchema),
|
|
576
576
|
},
|
|
577
577
|
{
|
|
578
578
|
name: "get_pipeline_test_report_summary",
|
|
579
579
|
description: "Get pipeline test report summary",
|
|
580
|
-
inputSchema:
|
|
580
|
+
inputSchema: lazyJSONSchema(PipelineReportSchema),
|
|
581
581
|
},
|
|
582
582
|
{
|
|
583
583
|
name: "delete_pipeline",
|
|
584
584
|
description: "Delete a pipeline. Requires the project Owner role, cannot be undone, and does not automatically delete child pipelines.",
|
|
585
|
-
inputSchema:
|
|
585
|
+
inputSchema: lazyJSONSchema(DeletePipelineSchema),
|
|
586
586
|
},
|
|
587
587
|
{
|
|
588
588
|
name: "update_pipeline_metadata",
|
|
589
589
|
description: "Update pipeline metadata",
|
|
590
|
-
inputSchema:
|
|
590
|
+
inputSchema: lazyJSONSchema(UpdatePipelineMetadataSchema),
|
|
591
591
|
},
|
|
592
592
|
{
|
|
593
593
|
name: "list_deployments",
|
|
594
594
|
description: "List deployments with filtering options",
|
|
595
|
-
inputSchema:
|
|
595
|
+
inputSchema: lazyJSONSchema(ListDeploymentsSchema),
|
|
596
596
|
},
|
|
597
597
|
{
|
|
598
598
|
name: "get_deployment",
|
|
599
599
|
description: "Get deployment details, including approval_summary, approvals, and pending_approval_count when GitLab provides them",
|
|
600
|
-
inputSchema:
|
|
600
|
+
inputSchema: lazyJSONSchema(GetDeploymentSchema),
|
|
601
601
|
},
|
|
602
602
|
{
|
|
603
603
|
name: "create_deployment",
|
|
604
604
|
description: "Create a deployment",
|
|
605
|
-
inputSchema:
|
|
605
|
+
inputSchema: lazyJSONSchema(CreateDeploymentSchema),
|
|
606
606
|
},
|
|
607
607
|
{
|
|
608
608
|
name: "update_deployment",
|
|
609
609
|
description: "Update a deployment status",
|
|
610
|
-
inputSchema:
|
|
610
|
+
inputSchema: lazyJSONSchema(UpdateDeploymentSchema),
|
|
611
611
|
},
|
|
612
612
|
{
|
|
613
613
|
name: "delete_deployment",
|
|
614
614
|
description: "Delete a deployment",
|
|
615
|
-
inputSchema:
|
|
615
|
+
inputSchema: lazyJSONSchema(GetDeploymentSchema),
|
|
616
616
|
},
|
|
617
617
|
{
|
|
618
618
|
name: "list_deployment_merge_requests",
|
|
619
619
|
description: "List merge requests shipped with a deployment",
|
|
620
|
-
inputSchema:
|
|
620
|
+
inputSchema: lazyJSONSchema(ListDeploymentMergeRequestsSchema),
|
|
621
621
|
},
|
|
622
622
|
{
|
|
623
623
|
name: "approve_deployment",
|
|
624
624
|
description: "Approve or reject a protected-environment deployment",
|
|
625
|
-
inputSchema:
|
|
625
|
+
inputSchema: lazyJSONSchema(DeploymentApprovalSchema),
|
|
626
626
|
},
|
|
627
627
|
{
|
|
628
628
|
name: "list_environments",
|
|
629
629
|
description: "List environments in a project",
|
|
630
|
-
inputSchema:
|
|
630
|
+
inputSchema: lazyJSONSchema(ListEnvironmentsSchema),
|
|
631
631
|
},
|
|
632
632
|
{
|
|
633
633
|
name: "get_environment",
|
|
634
634
|
description: "Get details of a specific environment",
|
|
635
|
-
inputSchema:
|
|
635
|
+
inputSchema: lazyJSONSchema(GetEnvironmentSchema),
|
|
636
636
|
},
|
|
637
637
|
{
|
|
638
638
|
name: "update_environment",
|
|
639
639
|
description: "Update an environment",
|
|
640
|
-
inputSchema:
|
|
640
|
+
inputSchema: lazyJSONSchema(UpdateEnvironmentSchema),
|
|
641
641
|
},
|
|
642
642
|
{
|
|
643
643
|
name: "delete_environment",
|
|
644
644
|
description: "Delete a stopped environment",
|
|
645
|
-
inputSchema:
|
|
645
|
+
inputSchema: lazyJSONSchema(GetEnvironmentSchema),
|
|
646
646
|
},
|
|
647
647
|
{
|
|
648
648
|
name: "stop_environment",
|
|
649
649
|
description: "Stop an environment",
|
|
650
|
-
inputSchema:
|
|
650
|
+
inputSchema: lazyJSONSchema(StopEnvironmentSchema),
|
|
651
651
|
},
|
|
652
652
|
{
|
|
653
653
|
name: "stop_stale_environments",
|
|
654
654
|
description: "Stop eligible stale environments; protected environments are excluded and environments are stopped, not deleted",
|
|
655
|
-
inputSchema:
|
|
655
|
+
inputSchema: lazyJSONSchema(StopStaleEnvironmentsSchema),
|
|
656
656
|
},
|
|
657
657
|
{
|
|
658
658
|
name: "delete_review_app_environments",
|
|
659
659
|
description: "Schedule deletion of stopped review-app environments one week later; dry_run defaults to true and actual scheduling requires dry_run=false",
|
|
660
|
-
inputSchema:
|
|
660
|
+
inputSchema: lazyJSONSchema(DeleteReviewAppEnvironmentsSchema),
|
|
661
661
|
},
|
|
662
662
|
{
|
|
663
663
|
name: "list_pipeline_triggers",
|
|
664
664
|
description: "List project pipeline trigger tokens",
|
|
665
|
-
inputSchema:
|
|
665
|
+
inputSchema: lazyJSONSchema(ListPipelineTriggersSchema),
|
|
666
666
|
},
|
|
667
667
|
{
|
|
668
668
|
name: "get_pipeline_trigger",
|
|
669
669
|
description: "Get a project pipeline trigger",
|
|
670
|
-
inputSchema:
|
|
670
|
+
inputSchema: lazyJSONSchema(PipelineTriggerIdSchema),
|
|
671
671
|
},
|
|
672
672
|
{
|
|
673
673
|
name: "create_pipeline_trigger",
|
|
674
674
|
description: "Create a project pipeline trigger",
|
|
675
|
-
inputSchema:
|
|
675
|
+
inputSchema: lazyJSONSchema(CreatePipelineTriggerSchema),
|
|
676
676
|
},
|
|
677
677
|
{
|
|
678
678
|
name: "update_pipeline_trigger",
|
|
679
679
|
description: "Update a project pipeline trigger",
|
|
680
|
-
inputSchema:
|
|
680
|
+
inputSchema: lazyJSONSchema(UpdatePipelineTriggerSchema),
|
|
681
681
|
},
|
|
682
682
|
{
|
|
683
683
|
name: "delete_pipeline_trigger",
|
|
684
684
|
description: "Delete a project pipeline trigger",
|
|
685
|
-
inputSchema:
|
|
685
|
+
inputSchema: lazyJSONSchema(PipelineTriggerIdSchema),
|
|
686
686
|
},
|
|
687
687
|
{
|
|
688
688
|
name: "trigger_pipeline",
|
|
689
689
|
description: "Trigger a pipeline with a pipeline trigger token",
|
|
690
|
-
inputSchema:
|
|
690
|
+
inputSchema: lazyJSONSchema(TriggerPipelineSchema),
|
|
691
691
|
},
|
|
692
692
|
{
|
|
693
693
|
name: "list_pipeline_jobs",
|
|
694
694
|
description: "List all jobs in a specific pipeline",
|
|
695
|
-
inputSchema:
|
|
695
|
+
inputSchema: lazyJSONSchema(ListPipelineJobsSchema),
|
|
696
696
|
},
|
|
697
697
|
{
|
|
698
698
|
name: "list_pipeline_trigger_jobs",
|
|
699
699
|
description: "List trigger jobs (bridges) in a pipeline",
|
|
700
|
-
inputSchema:
|
|
700
|
+
inputSchema: lazyJSONSchema(ListPipelineTriggerJobsSchema),
|
|
701
701
|
},
|
|
702
702
|
{
|
|
703
703
|
name: "get_pipeline_job",
|
|
704
704
|
description: "Get details of a GitLab pipeline job number",
|
|
705
|
-
inputSchema:
|
|
705
|
+
inputSchema: lazyJSONSchema(PipelineJobControlSchema),
|
|
706
706
|
},
|
|
707
707
|
{
|
|
708
708
|
name: "get_pipeline_job_output",
|
|
709
709
|
description: "Get a pipeline job trace. It is read-only. Without pattern, lines come from the end of the log: limit is the maximum lines (default and max 1000) and offset is how many lines to skip from the end (default 0). With pattern, the full log is searched and limit and offset are ignored; a log over 10,000,000 characters is searched only in its last 10,000,000 characters, which can start partway through a line, and the result says which line that is. pattern is a substring unless regex is true, which treats it as an RE2 regular expression matched in linear time (no backreferences or lookaround); invalid or unsupported expressions, expressions over 1,000 compiled instructions (large {n} repetitions), and patterns longer than 500 characters return an error. case_sensitive defaults to false. context_lines (default 5, maximum 50) includes lines before and after each match, and overlapping windows are merged. max_matches (default 20, maximum 100) caps returned matches, and returned lines stop at 100,000 characters of text in total. Results are plain text with 1-based line numbers from the start of the log plus total_lines, total_matches, shown_matches, truncated, and output_truncated (true when the character limit cut the output). ANSI escape codes and GitLab section_start/section_end markers are removed before matching and in returned fragments. Provide project_id as a numeric ID or URL-encoded path and job_id as the job ID.",
|
|
710
|
-
inputSchema:
|
|
710
|
+
inputSchema: lazyJSONSchema(GetPipelineJobOutputSchema),
|
|
711
711
|
},
|
|
712
712
|
{
|
|
713
713
|
name: "validate_ci_lint",
|
|
714
714
|
description: "Validate provided GitLab CI/CD YAML content for a project",
|
|
715
|
-
inputSchema:
|
|
715
|
+
inputSchema: lazyJSONSchema(ValidateCiLintSchema),
|
|
716
716
|
},
|
|
717
717
|
{
|
|
718
718
|
name: "validate_project_ci_lint",
|
|
719
719
|
description: "Validate an existing .gitlab-ci.yml configuration for a project",
|
|
720
|
-
inputSchema:
|
|
720
|
+
inputSchema: lazyJSONSchema(ValidateProjectCiLintSchema),
|
|
721
721
|
},
|
|
722
722
|
{
|
|
723
723
|
name: "list_ci_catalog_resources",
|
|
724
724
|
description: "List GitLab CI/CD Catalog resources/components visible to the user",
|
|
725
|
-
inputSchema:
|
|
725
|
+
inputSchema: lazyJSONSchema(ListCiCatalogResourcesSchema),
|
|
726
726
|
},
|
|
727
727
|
{
|
|
728
728
|
name: "get_ci_catalog_resource",
|
|
729
729
|
description: "Get details for a GitLab CI/CD Catalog resource, including versions and components",
|
|
730
|
-
inputSchema:
|
|
730
|
+
inputSchema: lazyJSONSchema(GetCiCatalogResourceSchema),
|
|
731
731
|
},
|
|
732
732
|
{
|
|
733
733
|
name: "create_pipeline",
|
|
734
734
|
description: "Create a new pipeline for a branch or tag",
|
|
735
|
-
inputSchema:
|
|
735
|
+
inputSchema: lazyJSONSchema(CreatePipelineSchema),
|
|
736
736
|
},
|
|
737
737
|
{
|
|
738
738
|
name: "retry_pipeline",
|
|
739
739
|
description: "Retry a failed or canceled pipeline",
|
|
740
|
-
inputSchema:
|
|
740
|
+
inputSchema: lazyJSONSchema(RetryPipelineSchema),
|
|
741
741
|
},
|
|
742
742
|
{
|
|
743
743
|
name: "cancel_pipeline",
|
|
744
744
|
description: "Cancel a running pipeline",
|
|
745
|
-
inputSchema:
|
|
745
|
+
inputSchema: lazyJSONSchema(CancelPipelineSchema),
|
|
746
746
|
},
|
|
747
747
|
{
|
|
748
748
|
name: "list_pipeline_schedules",
|
|
749
749
|
description: "List pipeline schedules in a project, optionally filtered to active or inactive",
|
|
750
|
-
inputSchema:
|
|
750
|
+
inputSchema: lazyJSONSchema(ListPipelineSchedulesSchema),
|
|
751
751
|
},
|
|
752
752
|
{
|
|
753
753
|
name: "get_pipeline_schedule",
|
|
754
754
|
description: "Get details of a specific pipeline schedule, including its variables and last pipeline",
|
|
755
|
-
inputSchema:
|
|
755
|
+
inputSchema: lazyJSONSchema(GetPipelineScheduleSchema),
|
|
756
756
|
},
|
|
757
757
|
{
|
|
758
758
|
name: "list_pipeline_schedule_pipelines",
|
|
759
759
|
description: "List the pipelines that a pipeline schedule has triggered",
|
|
760
|
-
inputSchema:
|
|
760
|
+
inputSchema: lazyJSONSchema(ListPipelineSchedulePipelinesSchema),
|
|
761
761
|
},
|
|
762
762
|
{
|
|
763
763
|
name: "create_pipeline_schedule",
|
|
764
764
|
description: "Create a new pipeline schedule for a branch or tag",
|
|
765
|
-
inputSchema:
|
|
765
|
+
inputSchema: lazyJSONSchema(CreatePipelineScheduleSchema),
|
|
766
766
|
},
|
|
767
767
|
{
|
|
768
768
|
name: "update_pipeline_schedule",
|
|
769
769
|
description: "Update an existing pipeline schedule",
|
|
770
|
-
inputSchema:
|
|
770
|
+
inputSchema: lazyJSONSchema(UpdatePipelineScheduleSchema),
|
|
771
771
|
},
|
|
772
772
|
{
|
|
773
773
|
name: "delete_pipeline_schedule",
|
|
774
774
|
description: "Delete a pipeline schedule",
|
|
775
|
-
inputSchema:
|
|
775
|
+
inputSchema: lazyJSONSchema(DeletePipelineScheduleSchema),
|
|
776
776
|
},
|
|
777
777
|
{
|
|
778
778
|
name: "play_pipeline_schedule",
|
|
779
779
|
description: "Run a pipeline schedule immediately",
|
|
780
|
-
inputSchema:
|
|
780
|
+
inputSchema: lazyJSONSchema(PlayPipelineScheduleSchema),
|
|
781
781
|
},
|
|
782
782
|
{
|
|
783
783
|
name: "take_ownership_pipeline_schedule",
|
|
784
784
|
description: "Take ownership of a pipeline schedule",
|
|
785
|
-
inputSchema:
|
|
785
|
+
inputSchema: lazyJSONSchema(TakeOwnershipPipelineScheduleSchema),
|
|
786
786
|
},
|
|
787
787
|
{
|
|
788
788
|
name: "get_pipeline_schedule_variable",
|
|
789
789
|
description: "Get a single variable of a pipeline schedule",
|
|
790
|
-
inputSchema:
|
|
790
|
+
inputSchema: lazyJSONSchema(GetPipelineScheduleVariableSchema),
|
|
791
791
|
},
|
|
792
792
|
{
|
|
793
793
|
name: "create_pipeline_schedule_variable",
|
|
794
794
|
description: "Create a variable for a pipeline schedule",
|
|
795
|
-
inputSchema:
|
|
795
|
+
inputSchema: lazyJSONSchema(CreatePipelineScheduleVariableSchema),
|
|
796
796
|
},
|
|
797
797
|
{
|
|
798
798
|
name: "update_pipeline_schedule_variable",
|
|
799
799
|
description: "Update a variable of a pipeline schedule",
|
|
800
|
-
inputSchema:
|
|
800
|
+
inputSchema: lazyJSONSchema(UpdatePipelineScheduleVariableSchema),
|
|
801
801
|
},
|
|
802
802
|
{
|
|
803
803
|
name: "delete_pipeline_schedule_variable",
|
|
804
804
|
description: "Delete a variable from a pipeline schedule",
|
|
805
|
-
inputSchema:
|
|
805
|
+
inputSchema: lazyJSONSchema(DeletePipelineScheduleVariableSchema),
|
|
806
806
|
},
|
|
807
807
|
{
|
|
808
808
|
name: "play_pipeline_job",
|
|
809
809
|
description: "Run a manual pipeline job",
|
|
810
|
-
inputSchema:
|
|
810
|
+
inputSchema: lazyJSONSchema(PlayPipelineJobSchema),
|
|
811
811
|
},
|
|
812
812
|
{
|
|
813
813
|
name: "play_pipeline_jobs",
|
|
814
814
|
description: "Play multiple manual pipeline jobs sequentially",
|
|
815
|
-
inputSchema:
|
|
815
|
+
inputSchema: lazyJSONSchema(PlayPipelineJobsSchema),
|
|
816
816
|
},
|
|
817
817
|
{
|
|
818
818
|
name: "retry_pipeline_job",
|
|
819
819
|
description: "Retry a failed or canceled pipeline job",
|
|
820
|
-
inputSchema:
|
|
820
|
+
inputSchema: lazyJSONSchema(RetryPipelineJobSchema),
|
|
821
821
|
},
|
|
822
822
|
{
|
|
823
823
|
name: "cancel_pipeline_job",
|
|
824
824
|
description: "Cancel a running pipeline job",
|
|
825
|
-
inputSchema:
|
|
825
|
+
inputSchema: lazyJSONSchema(CancelPipelineJobSchema),
|
|
826
826
|
},
|
|
827
827
|
{
|
|
828
828
|
name: "erase_pipeline_job",
|
|
829
829
|
description: "Erase a pipeline job log and artifacts",
|
|
830
|
-
inputSchema:
|
|
830
|
+
inputSchema: lazyJSONSchema(ErasePipelineJobSchema),
|
|
831
831
|
},
|
|
832
832
|
{
|
|
833
833
|
name: "wait_for_pipeline",
|
|
834
834
|
description: "Wait for a pipeline to reach a terminal status",
|
|
835
|
-
inputSchema:
|
|
835
|
+
inputSchema: lazyJSONSchema(WaitForPipelineSchema),
|
|
836
836
|
},
|
|
837
837
|
{
|
|
838
838
|
name: "wait_for_job",
|
|
839
839
|
description: "Wait for a job to reach a terminal status",
|
|
840
|
-
inputSchema:
|
|
840
|
+
inputSchema: lazyJSONSchema(WaitForPipelineJobSchema),
|
|
841
841
|
},
|
|
842
842
|
{
|
|
843
843
|
name: "list_job_artifacts",
|
|
844
844
|
description: "List artifact files in a job's archive",
|
|
845
|
-
inputSchema:
|
|
845
|
+
inputSchema: lazyJSONSchema(ListJobArtifactsSchema),
|
|
846
846
|
},
|
|
847
847
|
{
|
|
848
848
|
name: "download_job_artifacts",
|
|
@@ -850,203 +850,203 @@ export const allTools = [
|
|
|
850
850
|
? "Get a download URL for a job's artifact archive (zip)"
|
|
851
851
|
: "Download job artifact archive (zip) and save it under the download directory",
|
|
852
852
|
inputSchema: IS_REMOTE
|
|
853
|
-
?
|
|
854
|
-
:
|
|
853
|
+
? lazyJSONSchema(DownloadJobArtifactsRemoteSchema)
|
|
854
|
+
: lazyJSONSchema(DownloadJobArtifactsSchema),
|
|
855
855
|
},
|
|
856
856
|
{
|
|
857
857
|
name: "get_job_artifact_file",
|
|
858
858
|
description: "Get content of a single file from a job's artifacts",
|
|
859
|
-
inputSchema:
|
|
859
|
+
inputSchema: lazyJSONSchema(GetJobArtifactFileSchema),
|
|
860
860
|
},
|
|
861
861
|
{
|
|
862
862
|
name: "list_merge_requests",
|
|
863
863
|
description: "List merge requests (without project_id: user's MRs; with project_id: project MRs)",
|
|
864
|
-
inputSchema:
|
|
864
|
+
inputSchema: lazyJSONSchema(ListMergeRequestsSchema),
|
|
865
865
|
},
|
|
866
866
|
{
|
|
867
867
|
name: "list_group_merge_requests",
|
|
868
868
|
description: "List merge requests across all projects of a group and its subgroups",
|
|
869
|
-
inputSchema:
|
|
869
|
+
inputSchema: lazyJSONSchema(ListGroupMergeRequestsSchema),
|
|
870
870
|
},
|
|
871
871
|
{
|
|
872
872
|
name: "list_milestones",
|
|
873
873
|
description: "List milestones with filtering options",
|
|
874
|
-
inputSchema:
|
|
874
|
+
inputSchema: lazyJSONSchema(ListProjectMilestonesSchema),
|
|
875
875
|
},
|
|
876
876
|
{
|
|
877
877
|
name: "get_milestone",
|
|
878
878
|
description: "Get details of a specific milestone",
|
|
879
|
-
inputSchema:
|
|
879
|
+
inputSchema: lazyJSONSchema(GetProjectMilestoneSchema),
|
|
880
880
|
},
|
|
881
881
|
{
|
|
882
882
|
name: "create_milestone",
|
|
883
883
|
description: "Create a new milestone",
|
|
884
|
-
inputSchema:
|
|
884
|
+
inputSchema: lazyJSONSchema(CreateProjectMilestoneSchema),
|
|
885
885
|
},
|
|
886
886
|
{
|
|
887
887
|
name: "edit_milestone",
|
|
888
888
|
description: "Edit an existing milestone",
|
|
889
|
-
inputSchema:
|
|
889
|
+
inputSchema: lazyJSONSchema(EditProjectMilestoneSchema),
|
|
890
890
|
},
|
|
891
891
|
{
|
|
892
892
|
name: "delete_milestone",
|
|
893
893
|
description: "Delete a milestone",
|
|
894
|
-
inputSchema:
|
|
894
|
+
inputSchema: lazyJSONSchema(DeleteProjectMilestoneSchema),
|
|
895
895
|
},
|
|
896
896
|
{
|
|
897
897
|
name: "get_milestone_issue",
|
|
898
898
|
description: "Get issues associated with a specific milestone",
|
|
899
|
-
inputSchema:
|
|
899
|
+
inputSchema: lazyJSONSchema(GetMilestoneIssuesSchema),
|
|
900
900
|
},
|
|
901
901
|
{
|
|
902
902
|
name: "get_milestone_merge_requests",
|
|
903
903
|
description: "Get merge requests associated with a specific milestone",
|
|
904
|
-
inputSchema:
|
|
904
|
+
inputSchema: lazyJSONSchema(GetMilestoneMergeRequestsSchema),
|
|
905
905
|
},
|
|
906
906
|
{
|
|
907
907
|
name: "promote_milestone",
|
|
908
908
|
description: "Promote a milestone to the next stage",
|
|
909
|
-
inputSchema:
|
|
909
|
+
inputSchema: lazyJSONSchema(PromoteProjectMilestoneSchema),
|
|
910
910
|
},
|
|
911
911
|
{
|
|
912
912
|
name: "get_milestone_burndown_events",
|
|
913
913
|
description: "Get burndown events for a specific milestone",
|
|
914
|
-
inputSchema:
|
|
914
|
+
inputSchema: lazyJSONSchema(GetMilestoneBurndownEventsSchema),
|
|
915
915
|
},
|
|
916
916
|
{
|
|
917
917
|
name: "list_group_milestones",
|
|
918
918
|
description: "List group milestones with filtering options",
|
|
919
|
-
inputSchema:
|
|
919
|
+
inputSchema: lazyJSONSchema(ListGroupMilestonesSchema),
|
|
920
920
|
},
|
|
921
921
|
{
|
|
922
922
|
name: "get_group_milestone",
|
|
923
923
|
description: "Get details of a specific group milestone",
|
|
924
|
-
inputSchema:
|
|
924
|
+
inputSchema: lazyJSONSchema(GetGroupMilestoneSchema),
|
|
925
925
|
},
|
|
926
926
|
{
|
|
927
927
|
name: "create_group_milestone",
|
|
928
928
|
description: "Create a new group milestone",
|
|
929
|
-
inputSchema:
|
|
929
|
+
inputSchema: lazyJSONSchema(CreateGroupMilestoneSchema),
|
|
930
930
|
},
|
|
931
931
|
{
|
|
932
932
|
name: "edit_group_milestone",
|
|
933
933
|
description: "Edit an existing group milestone",
|
|
934
|
-
inputSchema:
|
|
934
|
+
inputSchema: lazyJSONSchema(EditGroupMilestoneSchema),
|
|
935
935
|
},
|
|
936
936
|
{
|
|
937
937
|
name: "delete_group_milestone",
|
|
938
938
|
description: "Delete a group milestone",
|
|
939
|
-
inputSchema:
|
|
939
|
+
inputSchema: lazyJSONSchema(DeleteGroupMilestoneSchema),
|
|
940
940
|
},
|
|
941
941
|
{
|
|
942
942
|
name: "get_group_milestone_issue",
|
|
943
943
|
description: "Get issues associated with a specific group milestone",
|
|
944
|
-
inputSchema:
|
|
944
|
+
inputSchema: lazyJSONSchema(GetGroupMilestoneIssuesSchema),
|
|
945
945
|
},
|
|
946
946
|
{
|
|
947
947
|
name: "get_group_milestone_merge_requests",
|
|
948
948
|
description: "Get merge requests associated with a specific group milestone",
|
|
949
|
-
inputSchema:
|
|
949
|
+
inputSchema: lazyJSONSchema(GetGroupMilestoneMergeRequestsSchema),
|
|
950
950
|
},
|
|
951
951
|
{
|
|
952
952
|
name: "get_group_milestone_burndown_events",
|
|
953
953
|
description: "Get burndown events for a specific group milestone",
|
|
954
|
-
inputSchema:
|
|
954
|
+
inputSchema: lazyJSONSchema(GetGroupMilestoneBurndownEventsSchema),
|
|
955
955
|
},
|
|
956
956
|
{
|
|
957
957
|
name: "get_users",
|
|
958
958
|
description: "Get GitLab user details by usernames",
|
|
959
|
-
inputSchema:
|
|
959
|
+
inputSchema: lazyJSONSchema(GetUsersSchema),
|
|
960
960
|
},
|
|
961
961
|
{
|
|
962
962
|
name: "get_user",
|
|
963
963
|
description: "Get user details by ID",
|
|
964
|
-
inputSchema:
|
|
964
|
+
inputSchema: lazyJSONSchema(GetUserSchema),
|
|
965
965
|
},
|
|
966
966
|
{
|
|
967
967
|
name: "whoami",
|
|
968
968
|
description: "Get current authenticated user details",
|
|
969
|
-
inputSchema:
|
|
969
|
+
inputSchema: lazyJSONSchema(WhoAmISchema),
|
|
970
970
|
},
|
|
971
971
|
{
|
|
972
972
|
name: "list_commits",
|
|
973
973
|
description: "List repository commits with filtering options",
|
|
974
|
-
inputSchema:
|
|
974
|
+
inputSchema: lazyJSONSchema(ListCommitsSchema),
|
|
975
975
|
},
|
|
976
976
|
{
|
|
977
977
|
name: "get_commit",
|
|
978
978
|
description: "Get details of a specific commit",
|
|
979
|
-
inputSchema:
|
|
979
|
+
inputSchema: lazyJSONSchema(GetCommitSchema),
|
|
980
980
|
},
|
|
981
981
|
{
|
|
982
982
|
name: "get_commit_diff",
|
|
983
983
|
description: "Get changes/diffs of a specific commit",
|
|
984
|
-
inputSchema:
|
|
984
|
+
inputSchema: lazyJSONSchema(GetCommitDiffSchema),
|
|
985
985
|
},
|
|
986
986
|
{
|
|
987
987
|
name: "get_file_blame",
|
|
988
988
|
description: "Get git blame for a file at a given ref. Each entry maps a contiguous range of source lines to the commit that last changed them (id, author, authored_date, message). Use range_start/range_end to limit blame to specific lines.",
|
|
989
|
-
inputSchema:
|
|
989
|
+
inputSchema: lazyJSONSchema(GetFileBlameSchema),
|
|
990
990
|
},
|
|
991
991
|
{
|
|
992
992
|
name: "list_commit_statuses",
|
|
993
993
|
description: "List statuses for a commit",
|
|
994
|
-
inputSchema:
|
|
994
|
+
inputSchema: lazyJSONSchema(ListCommitStatusesSchema),
|
|
995
995
|
},
|
|
996
996
|
{
|
|
997
997
|
name: "create_commit_status",
|
|
998
998
|
description: "Create or update the status of a commit",
|
|
999
|
-
inputSchema:
|
|
999
|
+
inputSchema: lazyJSONSchema(CreateCommitStatusSchema),
|
|
1000
1000
|
},
|
|
1001
1001
|
{
|
|
1002
1002
|
name: "list_group_iterations",
|
|
1003
1003
|
description: "List group iterations with filtering options",
|
|
1004
|
-
inputSchema:
|
|
1004
|
+
inputSchema: lazyJSONSchema(ListGroupIterationsSchema),
|
|
1005
1005
|
},
|
|
1006
1006
|
{
|
|
1007
1007
|
name: "get_group_iteration",
|
|
1008
1008
|
description: "Get a group iteration by ID, IID, or GraphQL GID",
|
|
1009
|
-
inputSchema:
|
|
1009
|
+
inputSchema: lazyJSONSchema(GetGroupIterationSchema),
|
|
1010
1010
|
},
|
|
1011
1011
|
{
|
|
1012
1012
|
name: "update_group_iteration",
|
|
1013
1013
|
description: "Update a manual group iteration's title, description, or dates. At least one of `title`, `description`, `start_date`, or `due_date` is required.",
|
|
1014
|
-
inputSchema:
|
|
1014
|
+
inputSchema: lazyJSONSchema(UpdateGroupIterationSchema),
|
|
1015
1015
|
},
|
|
1016
1016
|
{
|
|
1017
1017
|
name: "create_group_iteration",
|
|
1018
1018
|
description: "Create a group iteration, optionally in a given iteration cadence",
|
|
1019
|
-
inputSchema:
|
|
1019
|
+
inputSchema: lazyJSONSchema(CreateGroupIterationSchema),
|
|
1020
1020
|
},
|
|
1021
1021
|
{
|
|
1022
1022
|
name: "delete_group_iteration",
|
|
1023
1023
|
description: "Delete a group iteration by ID, IID, or GraphQL GID",
|
|
1024
|
-
inputSchema:
|
|
1024
|
+
inputSchema: lazyJSONSchema(DeleteGroupIterationSchema),
|
|
1025
1025
|
},
|
|
1026
1026
|
{
|
|
1027
1027
|
name: "list_project_iterations",
|
|
1028
1028
|
description: "List the iterations available to a project with filtering options",
|
|
1029
|
-
inputSchema:
|
|
1029
|
+
inputSchema: lazyJSONSchema(ListProjectIterationsSchema),
|
|
1030
1030
|
},
|
|
1031
1031
|
{
|
|
1032
1032
|
name: "list_group_iteration_cadences",
|
|
1033
1033
|
description: "List a group's iteration cadences with filtering options",
|
|
1034
|
-
inputSchema:
|
|
1034
|
+
inputSchema: lazyJSONSchema(ListGroupIterationCadencesSchema),
|
|
1035
1035
|
},
|
|
1036
1036
|
{
|
|
1037
1037
|
name: "create_group_iteration_cadence",
|
|
1038
1038
|
description: "Create an iteration cadence in a group",
|
|
1039
|
-
inputSchema:
|
|
1039
|
+
inputSchema: lazyJSONSchema(CreateGroupIterationCadenceSchema),
|
|
1040
1040
|
},
|
|
1041
1041
|
{
|
|
1042
1042
|
name: "update_group_iteration_cadence",
|
|
1043
1043
|
description: "Update an iteration cadence's title, description, schedule, or automation",
|
|
1044
|
-
inputSchema:
|
|
1044
|
+
inputSchema: lazyJSONSchema(UpdateGroupIterationCadenceSchema),
|
|
1045
1045
|
},
|
|
1046
1046
|
{
|
|
1047
1047
|
name: "delete_group_iteration_cadence",
|
|
1048
1048
|
description: "Delete an iteration cadence",
|
|
1049
|
-
inputSchema:
|
|
1049
|
+
inputSchema: lazyJSONSchema(DeleteGroupIterationCadenceSchema),
|
|
1050
1050
|
},
|
|
1051
1051
|
{
|
|
1052
1052
|
name: "upload_markdown",
|
|
@@ -1054,8 +1054,8 @@ export const allTools = [
|
|
|
1054
1054
|
? "Upload base64-encoded content for use in markdown"
|
|
1055
1055
|
: "Upload a file for use in markdown content",
|
|
1056
1056
|
inputSchema: IS_REMOTE
|
|
1057
|
-
?
|
|
1058
|
-
:
|
|
1057
|
+
? lazyJSONSchema(MarkdownUploadRemoteSchema)
|
|
1058
|
+
: lazyJSONSchema(MarkdownUploadSchema),
|
|
1059
1059
|
},
|
|
1060
1060
|
{
|
|
1061
1061
|
name: "download_attachment",
|
|
@@ -1063,404 +1063,404 @@ export const allTools = [
|
|
|
1063
1063
|
? "Download an uploaded file from a project (images returned inline as base64, other files returned as download URL)"
|
|
1064
1064
|
: "Download an uploaded file from a project (images returned as base64; other files, or images with local_path, are saved as new files under the download directory)",
|
|
1065
1065
|
inputSchema: IS_REMOTE
|
|
1066
|
-
?
|
|
1067
|
-
:
|
|
1066
|
+
? lazyJSONSchema(DownloadAttachmentRemoteSchema)
|
|
1067
|
+
: lazyJSONSchema(DownloadAttachmentSchema),
|
|
1068
1068
|
},
|
|
1069
1069
|
{
|
|
1070
1070
|
name: "health_check",
|
|
1071
1071
|
description: "Check auth and versions. Always includes mcp_server_version. When authenticated, also GitLab version, revision, and enterprise from GET /api/v4/version. Version lookup failures omit those fields instead of failing",
|
|
1072
|
-
inputSchema:
|
|
1072
|
+
inputSchema: lazyJSONSchema(HealthCheckSchema),
|
|
1073
1073
|
},
|
|
1074
1074
|
{
|
|
1075
1075
|
name: "list_events",
|
|
1076
1076
|
description: "List events for the authenticated user (before/after: YYYY-MM-DD)",
|
|
1077
|
-
inputSchema:
|
|
1077
|
+
inputSchema: lazyJSONSchema(ListEventsSchema),
|
|
1078
1078
|
},
|
|
1079
1079
|
{
|
|
1080
1080
|
name: "get_project_events",
|
|
1081
1081
|
description: "List events for a project (before/after: YYYY-MM-DD)",
|
|
1082
|
-
inputSchema:
|
|
1082
|
+
inputSchema: lazyJSONSchema(GetProjectEventsSchema),
|
|
1083
1083
|
},
|
|
1084
1084
|
{
|
|
1085
1085
|
name: "list_releases",
|
|
1086
1086
|
description: "List all releases for a project",
|
|
1087
|
-
inputSchema:
|
|
1087
|
+
inputSchema: lazyJSONSchema(ListReleasesSchema),
|
|
1088
1088
|
},
|
|
1089
1089
|
{
|
|
1090
1090
|
name: "get_release",
|
|
1091
1091
|
description: "Get a release by tag name",
|
|
1092
|
-
inputSchema:
|
|
1092
|
+
inputSchema: lazyJSONSchema(GetReleaseSchema),
|
|
1093
1093
|
},
|
|
1094
1094
|
{
|
|
1095
1095
|
name: "create_release",
|
|
1096
1096
|
description: "Create a new release",
|
|
1097
|
-
inputSchema:
|
|
1097
|
+
inputSchema: lazyJSONSchema(CreateReleaseSchema),
|
|
1098
1098
|
},
|
|
1099
1099
|
{
|
|
1100
1100
|
name: "update_release",
|
|
1101
1101
|
description: "Update an existing release",
|
|
1102
|
-
inputSchema:
|
|
1102
|
+
inputSchema: lazyJSONSchema(UpdateReleaseSchema),
|
|
1103
1103
|
},
|
|
1104
1104
|
{
|
|
1105
1105
|
name: "delete_release",
|
|
1106
1106
|
description: "Delete a release (does not delete the tag)",
|
|
1107
|
-
inputSchema:
|
|
1107
|
+
inputSchema: lazyJSONSchema(DeleteReleaseSchema),
|
|
1108
1108
|
},
|
|
1109
1109
|
{
|
|
1110
1110
|
name: "create_release_evidence",
|
|
1111
1111
|
description: "Create release evidence (Premium/Ultimate)",
|
|
1112
|
-
inputSchema:
|
|
1112
|
+
inputSchema: lazyJSONSchema(CreateReleaseEvidenceSchema),
|
|
1113
1113
|
},
|
|
1114
1114
|
{
|
|
1115
1115
|
name: "download_release_asset",
|
|
1116
1116
|
description: IS_REMOTE
|
|
1117
1117
|
? "Get a download URL for a release asset file"
|
|
1118
1118
|
: "Download a release asset file by direct asset path",
|
|
1119
|
-
inputSchema:
|
|
1119
|
+
inputSchema: lazyJSONSchema(DownloadReleaseAssetSchema),
|
|
1120
1120
|
},
|
|
1121
1121
|
{
|
|
1122
1122
|
name: "list_tags",
|
|
1123
1123
|
description: "List repository tags for a project",
|
|
1124
|
-
inputSchema:
|
|
1124
|
+
inputSchema: lazyJSONSchema(ListTagsSchema),
|
|
1125
1125
|
},
|
|
1126
1126
|
{
|
|
1127
1127
|
name: "get_tag",
|
|
1128
1128
|
description: "Get a repository tag by name",
|
|
1129
|
-
inputSchema:
|
|
1129
|
+
inputSchema: lazyJSONSchema(GetTagSchema),
|
|
1130
1130
|
},
|
|
1131
1131
|
{
|
|
1132
1132
|
name: "create_tag",
|
|
1133
1133
|
description: "Create a new repository tag",
|
|
1134
|
-
inputSchema:
|
|
1134
|
+
inputSchema: lazyJSONSchema(CreateTagSchema),
|
|
1135
1135
|
},
|
|
1136
1136
|
{
|
|
1137
1137
|
name: "delete_tag",
|
|
1138
1138
|
description: "Delete a repository tag",
|
|
1139
|
-
inputSchema:
|
|
1139
|
+
inputSchema: lazyJSONSchema(DeleteTagSchema),
|
|
1140
1140
|
},
|
|
1141
1141
|
{
|
|
1142
1142
|
name: "get_tag_signature",
|
|
1143
1143
|
description: "Get the X.509 signature of a signed tag (404 if unsigned)",
|
|
1144
|
-
inputSchema:
|
|
1144
|
+
inputSchema: lazyJSONSchema(GetTagSignatureSchema),
|
|
1145
1145
|
},
|
|
1146
1146
|
{
|
|
1147
1147
|
name: "list_protected_tags",
|
|
1148
1148
|
description: "List protected tags in a project",
|
|
1149
|
-
inputSchema:
|
|
1149
|
+
inputSchema: lazyJSONSchema(ListProtectedTagsSchema),
|
|
1150
1150
|
},
|
|
1151
1151
|
{
|
|
1152
1152
|
name: "get_protected_tag",
|
|
1153
1153
|
description: "Get details of a single protected tag or wildcard (create access levels)",
|
|
1154
|
-
inputSchema:
|
|
1154
|
+
inputSchema: lazyJSONSchema(GetProtectedTagSchema),
|
|
1155
1155
|
},
|
|
1156
1156
|
{
|
|
1157
1157
|
name: "protect_tag",
|
|
1158
1158
|
description: "Protect a repository tag or wildcard (set who can create it)",
|
|
1159
|
-
inputSchema:
|
|
1159
|
+
inputSchema: lazyJSONSchema(ProtectTagSchema),
|
|
1160
1160
|
},
|
|
1161
1161
|
{
|
|
1162
1162
|
name: "unprotect_tag",
|
|
1163
1163
|
description: "Remove protection from a previously protected tag or wildcard",
|
|
1164
|
-
inputSchema:
|
|
1164
|
+
inputSchema: lazyJSONSchema(UnprotectTagSchema),
|
|
1165
1165
|
},
|
|
1166
1166
|
// --- Snippet tools ---
|
|
1167
1167
|
{
|
|
1168
1168
|
name: "list_snippets",
|
|
1169
1169
|
description: "List snippets — project snippets when project_id is given, otherwise personal snippets",
|
|
1170
|
-
inputSchema:
|
|
1170
|
+
inputSchema: lazyJSONSchema(ListSnippetsSchema),
|
|
1171
1171
|
},
|
|
1172
1172
|
{
|
|
1173
1173
|
name: "get_snippet",
|
|
1174
1174
|
description: "Get a snippet's metadata. Set include_content=true to also fetch the raw file content.",
|
|
1175
|
-
inputSchema:
|
|
1175
|
+
inputSchema: lazyJSONSchema(GetSnippetSchema),
|
|
1176
1176
|
},
|
|
1177
1177
|
{
|
|
1178
1178
|
name: "create_snippet",
|
|
1179
1179
|
description: "Create a snippet — project-scoped when project_id is given, otherwise a personal snippet. Requires title plus either file_name + content (single file) or files[] (multi-file); the two shapes cannot be mixed.",
|
|
1180
|
-
inputSchema:
|
|
1180
|
+
inputSchema: lazyJSONSchema(CreateSnippetSchema),
|
|
1181
1181
|
},
|
|
1182
1182
|
{
|
|
1183
1183
|
name: "update_snippet",
|
|
1184
1184
|
description: "Update an existing snippet (provide at least one field to change). For multi-file edits — renames, deletions, additions — pass files[] with action (create/update/delete/move) and previous_path. The file_name + content shortcut still works for single-file content replacement.",
|
|
1185
|
-
inputSchema:
|
|
1185
|
+
inputSchema: lazyJSONSchema(UpdateSnippetSchema),
|
|
1186
1186
|
},
|
|
1187
1187
|
{
|
|
1188
1188
|
name: "delete_snippet",
|
|
1189
1189
|
description: "Delete a snippet",
|
|
1190
|
-
inputSchema:
|
|
1190
|
+
inputSchema: lazyJSONSchema(DeleteSnippetSchema),
|
|
1191
1191
|
},
|
|
1192
1192
|
// --- Work item tools (GraphQL-based) ---
|
|
1193
1193
|
{
|
|
1194
1194
|
name: "get_work_item",
|
|
1195
1195
|
description: "Get a work item with full details including status, hierarchy, type, and widgets",
|
|
1196
|
-
inputSchema:
|
|
1196
|
+
inputSchema: lazyJSONSchema(GetWorkItemSchema),
|
|
1197
1197
|
},
|
|
1198
1198
|
{
|
|
1199
1199
|
name: "list_work_items",
|
|
1200
1200
|
description: "List work items with filters (type, state, search, assignees, labels)",
|
|
1201
|
-
inputSchema:
|
|
1201
|
+
inputSchema: lazyJSONSchema(ListWorkItemsSchema),
|
|
1202
1202
|
},
|
|
1203
1203
|
{
|
|
1204
1204
|
name: "create_work_item",
|
|
1205
1205
|
description: "Create a work item (issue, task, incident, epic, etc.) with full field support",
|
|
1206
|
-
inputSchema:
|
|
1206
|
+
inputSchema: lazyJSONSchema(CreateWorkItemSchema),
|
|
1207
1207
|
},
|
|
1208
1208
|
{
|
|
1209
1209
|
name: "update_work_item",
|
|
1210
1210
|
description: "Update a work item (title, description, labels, assignees, state, parent, iteration, custom fields, etc.). Use remove_iteration to explicitly clear the iteration association.",
|
|
1211
|
-
inputSchema:
|
|
1211
|
+
inputSchema: lazyJSONSchema(UpdateWorkItemSchema),
|
|
1212
1212
|
},
|
|
1213
1213
|
{
|
|
1214
1214
|
name: "convert_work_item_type",
|
|
1215
1215
|
description: "Convert a work item to a different type",
|
|
1216
|
-
inputSchema:
|
|
1216
|
+
inputSchema: lazyJSONSchema(ConvertWorkItemTypeSchema),
|
|
1217
1217
|
},
|
|
1218
1218
|
{
|
|
1219
1219
|
name: "list_work_item_statuses",
|
|
1220
1220
|
description: "List available statuses for a work item type (Premium/Ultimate)",
|
|
1221
|
-
inputSchema:
|
|
1221
|
+
inputSchema: lazyJSONSchema(ListWorkItemStatusesSchema),
|
|
1222
1222
|
},
|
|
1223
1223
|
{
|
|
1224
1224
|
name: "list_custom_field_definitions",
|
|
1225
1225
|
description: "List custom field definitions for a work item type",
|
|
1226
|
-
inputSchema:
|
|
1226
|
+
inputSchema: lazyJSONSchema(ListCustomFieldDefinitionsSchema),
|
|
1227
1227
|
},
|
|
1228
1228
|
{
|
|
1229
1229
|
name: "move_work_item",
|
|
1230
1230
|
description: "Move a work item to a different project",
|
|
1231
|
-
inputSchema:
|
|
1231
|
+
inputSchema: lazyJSONSchema(MoveWorkItemSchema),
|
|
1232
1232
|
},
|
|
1233
1233
|
{
|
|
1234
1234
|
name: "list_work_item_notes",
|
|
1235
1235
|
description: "List notes and discussions on a work item",
|
|
1236
|
-
inputSchema:
|
|
1236
|
+
inputSchema: lazyJSONSchema(ListWorkItemNotesSchema),
|
|
1237
1237
|
},
|
|
1238
1238
|
{
|
|
1239
1239
|
name: "create_work_item_note",
|
|
1240
1240
|
description: "Add a note to a work item (supports Markdown, internal notes, threads)",
|
|
1241
|
-
inputSchema:
|
|
1241
|
+
inputSchema: lazyJSONSchema(CreateWorkItemNoteSchema),
|
|
1242
1242
|
},
|
|
1243
1243
|
// --- Work item emoji reaction tools (GraphQL-based) ---
|
|
1244
1244
|
{
|
|
1245
1245
|
name: "list_work_item_emoji_reactions",
|
|
1246
1246
|
description: "List all emoji reactions on a work item",
|
|
1247
|
-
inputSchema:
|
|
1247
|
+
inputSchema: lazyJSONSchema(ListWorkItemEmojiReactionsSchema),
|
|
1248
1248
|
},
|
|
1249
1249
|
{
|
|
1250
1250
|
name: "list_work_item_note_emoji_reactions",
|
|
1251
1251
|
description: "List all emoji reactions on a work item note (comment, thread, or thread reply)",
|
|
1252
|
-
inputSchema:
|
|
1252
|
+
inputSchema: lazyJSONSchema(ListWorkItemNoteEmojiReactionsSchema),
|
|
1253
1253
|
},
|
|
1254
1254
|
{
|
|
1255
1255
|
name: "create_work_item_emoji_reaction",
|
|
1256
1256
|
description: "Add an emoji reaction to a work item (e.g. thumbsup, rocket, eyes)",
|
|
1257
|
-
inputSchema:
|
|
1257
|
+
inputSchema: lazyJSONSchema(CreateWorkItemEmojiReactionSchema),
|
|
1258
1258
|
},
|
|
1259
1259
|
{
|
|
1260
1260
|
name: "delete_work_item_emoji_reaction",
|
|
1261
1261
|
description: "Remove an emoji reaction from a work item",
|
|
1262
|
-
inputSchema:
|
|
1262
|
+
inputSchema: lazyJSONSchema(DeleteWorkItemEmojiReactionSchema),
|
|
1263
1263
|
},
|
|
1264
1264
|
{
|
|
1265
1265
|
name: "create_work_item_note_emoji_reaction",
|
|
1266
1266
|
description: "Add an emoji reaction to a work item note (comment, thread, or thread reply)",
|
|
1267
|
-
inputSchema:
|
|
1267
|
+
inputSchema: lazyJSONSchema(CreateWorkItemNoteEmojiReactionSchema),
|
|
1268
1268
|
},
|
|
1269
1269
|
{
|
|
1270
1270
|
name: "delete_work_item_note_emoji_reaction",
|
|
1271
1271
|
description: "Remove an emoji reaction from a work item note (comment, thread, or thread reply)",
|
|
1272
|
-
inputSchema:
|
|
1272
|
+
inputSchema: lazyJSONSchema(DeleteWorkItemNoteEmojiReactionSchema),
|
|
1273
1273
|
},
|
|
1274
1274
|
// --- Incident timeline event tools ---
|
|
1275
1275
|
{
|
|
1276
1276
|
name: "get_timeline_events",
|
|
1277
1277
|
description: "List timeline events for an incident",
|
|
1278
|
-
inputSchema:
|
|
1278
|
+
inputSchema: lazyJSONSchema(GetTimelineEventsSchema),
|
|
1279
1279
|
},
|
|
1280
1280
|
{
|
|
1281
1281
|
name: "create_timeline_event",
|
|
1282
1282
|
description: "Create a timeline event on an incident",
|
|
1283
|
-
inputSchema:
|
|
1283
|
+
inputSchema: lazyJSONSchema(CreateTimelineEventSchema),
|
|
1284
1284
|
},
|
|
1285
1285
|
{
|
|
1286
1286
|
name: "list_webhooks",
|
|
1287
1287
|
description: "List webhooks for a project or group",
|
|
1288
|
-
inputSchema:
|
|
1288
|
+
inputSchema: lazyJSONSchema(ListWebhooksSchema),
|
|
1289
1289
|
},
|
|
1290
1290
|
{
|
|
1291
1291
|
name: "create_webhook",
|
|
1292
1292
|
description: "Create a webhook on a project or group",
|
|
1293
|
-
inputSchema:
|
|
1293
|
+
inputSchema: lazyJSONSchema(CreateWebhookSchema),
|
|
1294
1294
|
},
|
|
1295
1295
|
{
|
|
1296
1296
|
name: "update_webhook",
|
|
1297
1297
|
description: "Update an existing project or group webhook",
|
|
1298
|
-
inputSchema:
|
|
1298
|
+
inputSchema: lazyJSONSchema(UpdateWebhookSchema),
|
|
1299
1299
|
},
|
|
1300
1300
|
{
|
|
1301
1301
|
name: "delete_webhook",
|
|
1302
1302
|
description: "Delete a project or group webhook",
|
|
1303
|
-
inputSchema:
|
|
1303
|
+
inputSchema: lazyJSONSchema(DeleteWebhookSchema),
|
|
1304
1304
|
},
|
|
1305
1305
|
{
|
|
1306
1306
|
name: "list_webhook_events",
|
|
1307
1307
|
description: "List recent webhook events (past 7 days)",
|
|
1308
|
-
inputSchema:
|
|
1308
|
+
inputSchema: lazyJSONSchema(ListWebhookEventsSchema),
|
|
1309
1309
|
},
|
|
1310
1310
|
{
|
|
1311
1311
|
name: "get_webhook_event",
|
|
1312
1312
|
description: "Get full details of a specific webhook event",
|
|
1313
|
-
inputSchema:
|
|
1313
|
+
inputSchema: lazyJSONSchema(GetWebhookEventSchema),
|
|
1314
1314
|
},
|
|
1315
1315
|
{
|
|
1316
1316
|
name: "search_code",
|
|
1317
1317
|
description: "Search for code across all projects (requires advanced search or Zoekt)",
|
|
1318
|
-
inputSchema:
|
|
1318
|
+
inputSchema: lazyJSONSchema(SearchCodeSchema),
|
|
1319
1319
|
},
|
|
1320
1320
|
{
|
|
1321
1321
|
name: "search_project_code",
|
|
1322
1322
|
description: "Search for code within a specific project (requires advanced search or Zoekt)",
|
|
1323
|
-
inputSchema:
|
|
1323
|
+
inputSchema: lazyJSONSchema(SearchProjectCodeSchema),
|
|
1324
1324
|
},
|
|
1325
1325
|
{
|
|
1326
1326
|
name: "search_group_code",
|
|
1327
1327
|
description: "Search for code within a specific group (requires advanced search or Zoekt)",
|
|
1328
|
-
inputSchema:
|
|
1328
|
+
inputSchema: lazyJSONSchema(SearchGroupCodeSchema),
|
|
1329
1329
|
},
|
|
1330
1330
|
// --- CI/CD Variable tools ---
|
|
1331
1331
|
{
|
|
1332
1332
|
name: "list_project_variables",
|
|
1333
1333
|
description: "List CI/CD variables for a project",
|
|
1334
|
-
inputSchema:
|
|
1334
|
+
inputSchema: lazyJSONSchema(ListProjectVariablesSchema),
|
|
1335
1335
|
},
|
|
1336
1336
|
{
|
|
1337
1337
|
name: "get_project_variable",
|
|
1338
1338
|
description: "Get a single CI/CD variable from a project",
|
|
1339
|
-
inputSchema:
|
|
1339
|
+
inputSchema: lazyJSONSchema(GetProjectVariableSchema),
|
|
1340
1340
|
},
|
|
1341
1341
|
{
|
|
1342
1342
|
name: "create_project_variable",
|
|
1343
1343
|
description: "Create a CI/CD variable for a project",
|
|
1344
|
-
inputSchema:
|
|
1344
|
+
inputSchema: lazyJSONSchema(CreateProjectVariableSchema),
|
|
1345
1345
|
},
|
|
1346
1346
|
{
|
|
1347
1347
|
name: "update_project_variable",
|
|
1348
1348
|
description: "Update an existing CI/CD variable in a project",
|
|
1349
|
-
inputSchema:
|
|
1349
|
+
inputSchema: lazyJSONSchema(UpdateProjectVariableSchema),
|
|
1350
1350
|
},
|
|
1351
1351
|
{
|
|
1352
1352
|
name: "delete_project_variable",
|
|
1353
1353
|
description: "Delete a CI/CD variable from a project",
|
|
1354
|
-
inputSchema:
|
|
1354
|
+
inputSchema: lazyJSONSchema(DeleteProjectVariableSchema),
|
|
1355
1355
|
},
|
|
1356
1356
|
{
|
|
1357
1357
|
name: "list_group_variables",
|
|
1358
1358
|
description: "List CI/CD variables for a group",
|
|
1359
|
-
inputSchema:
|
|
1359
|
+
inputSchema: lazyJSONSchema(ListGroupVariablesSchema),
|
|
1360
1360
|
},
|
|
1361
1361
|
{
|
|
1362
1362
|
name: "get_group_variable",
|
|
1363
1363
|
description: "Get a single CI/CD variable from a group",
|
|
1364
|
-
inputSchema:
|
|
1364
|
+
inputSchema: lazyJSONSchema(GetGroupVariableSchema),
|
|
1365
1365
|
},
|
|
1366
1366
|
{
|
|
1367
1367
|
name: "create_group_variable",
|
|
1368
1368
|
description: "Create a CI/CD variable for a group",
|
|
1369
|
-
inputSchema:
|
|
1369
|
+
inputSchema: lazyJSONSchema(CreateGroupVariableSchema),
|
|
1370
1370
|
},
|
|
1371
1371
|
{
|
|
1372
1372
|
name: "update_group_variable",
|
|
1373
1373
|
description: "Update an existing CI/CD variable in a group",
|
|
1374
|
-
inputSchema:
|
|
1374
|
+
inputSchema: lazyJSONSchema(UpdateGroupVariableSchema),
|
|
1375
1375
|
},
|
|
1376
1376
|
{
|
|
1377
1377
|
name: "delete_group_variable",
|
|
1378
1378
|
description: "Delete a CI/CD variable from a group",
|
|
1379
|
-
inputSchema:
|
|
1379
|
+
inputSchema: lazyJSONSchema(DeleteGroupVariableSchema),
|
|
1380
1380
|
},
|
|
1381
1381
|
// --- Dependency proxy tools ---
|
|
1382
1382
|
{
|
|
1383
1383
|
name: "get_dependency_proxy_settings",
|
|
1384
1384
|
description: "Get dependency proxy settings for a group",
|
|
1385
|
-
inputSchema:
|
|
1385
|
+
inputSchema: lazyJSONSchema(GetDependencyProxySettingsSchema),
|
|
1386
1386
|
},
|
|
1387
1387
|
{
|
|
1388
1388
|
name: "update_dependency_proxy_settings",
|
|
1389
1389
|
description: "Update dependency proxy settings for a group (enable/disable, credentials for authenticated Docker Hub pulls)",
|
|
1390
|
-
inputSchema:
|
|
1390
|
+
inputSchema: lazyJSONSchema(UpdateDependencyProxySettingsSchema),
|
|
1391
1391
|
},
|
|
1392
1392
|
{
|
|
1393
1393
|
name: "list_dependency_proxy_blobs",
|
|
1394
1394
|
description: "List cached dependency proxy blobs for a group",
|
|
1395
|
-
inputSchema:
|
|
1395
|
+
inputSchema: lazyJSONSchema(ListDependencyProxyBlobsSchema),
|
|
1396
1396
|
},
|
|
1397
1397
|
{
|
|
1398
1398
|
name: "purge_dependency_proxy_cache",
|
|
1399
1399
|
description: "Schedule purge of all cached dependency proxy blobs for a group",
|
|
1400
|
-
inputSchema:
|
|
1400
|
+
inputSchema: lazyJSONSchema(PurgeDependencyProxyCacheSchema),
|
|
1401
1401
|
},
|
|
1402
1402
|
// --- Vulnerability tools ---
|
|
1403
1403
|
{
|
|
1404
1404
|
name: "list_project_vulnerabilities",
|
|
1405
1405
|
description: "List vulnerabilities for a project with optional state, severity, and report type filters (GraphQL-backed, cursor pagination)",
|
|
1406
|
-
inputSchema:
|
|
1406
|
+
inputSchema: lazyJSONSchema(ListProjectVulnerabilitiesSchema),
|
|
1407
1407
|
},
|
|
1408
1408
|
{
|
|
1409
1409
|
name: "get_vulnerability",
|
|
1410
1410
|
description: "Get full details of a specific vulnerability",
|
|
1411
|
-
inputSchema:
|
|
1411
|
+
inputSchema: lazyJSONSchema(GetVulnerabilitySchema),
|
|
1412
1412
|
},
|
|
1413
1413
|
{
|
|
1414
1414
|
name: "dismiss_vulnerability",
|
|
1415
1415
|
description: "Dismiss a vulnerability with a reason (acceptable_risk, false_positive, used_in_tests, mitigating_control, not_applicable) and optional comment",
|
|
1416
|
-
inputSchema:
|
|
1416
|
+
inputSchema: lazyJSONSchema(DismissVulnerabilitySchema),
|
|
1417
1417
|
},
|
|
1418
1418
|
{
|
|
1419
1419
|
name: "confirm_vulnerability",
|
|
1420
1420
|
description: "Confirm a vulnerability as a real finding requiring remediation",
|
|
1421
|
-
inputSchema:
|
|
1421
|
+
inputSchema: lazyJSONSchema(ConfirmVulnerabilitySchema),
|
|
1422
1422
|
},
|
|
1423
1423
|
// --- GitLab Orbit (knowledge graph) tools ---
|
|
1424
1424
|
{
|
|
1425
1425
|
name: "orbit_query",
|
|
1426
1426
|
description: "Execute a GitLab Orbit graph query over the indexed SDLC knowledge graph",
|
|
1427
|
-
inputSchema:
|
|
1427
|
+
inputSchema: lazyJSONSchema(OrbitQuerySchema),
|
|
1428
1428
|
},
|
|
1429
1429
|
{
|
|
1430
1430
|
name: "orbit_get_schema",
|
|
1431
1431
|
description: "Fetch the current GitLab Orbit graph schema (node and edge types)",
|
|
1432
|
-
inputSchema:
|
|
1432
|
+
inputSchema: lazyJSONSchema(OrbitSchemaSchema),
|
|
1433
1433
|
},
|
|
1434
1434
|
{
|
|
1435
1435
|
name: "orbit_get_status",
|
|
1436
1436
|
description: "Check GitLab Orbit indexing status for the enabled scope",
|
|
1437
|
-
inputSchema:
|
|
1437
|
+
inputSchema: lazyJSONSchema(OrbitStatusSchema),
|
|
1438
1438
|
},
|
|
1439
1439
|
{
|
|
1440
1440
|
name: "orbit_list_tools",
|
|
1441
1441
|
description: "List the MCP tool definitions exposed by GitLab Orbit",
|
|
1442
|
-
inputSchema:
|
|
1442
|
+
inputSchema: lazyJSONSchema(OrbitToolsSchema),
|
|
1443
1443
|
},
|
|
1444
1444
|
{
|
|
1445
1445
|
name: "list_project_runners",
|
|
1446
1446
|
description: "List runners available to a project",
|
|
1447
|
-
inputSchema:
|
|
1447
|
+
inputSchema: lazyJSONSchema(ListProjectRunnersSchema),
|
|
1448
1448
|
},
|
|
1449
1449
|
{
|
|
1450
1450
|
name: "get_runner",
|
|
1451
1451
|
description: "Get one runner by ID",
|
|
1452
|
-
inputSchema:
|
|
1452
|
+
inputSchema: lazyJSONSchema(GetRunnerSchema),
|
|
1453
1453
|
},
|
|
1454
1454
|
{
|
|
1455
1455
|
name: "rebase_merge_request",
|
|
1456
1456
|
description: "Rebase the source branch of a merge request onto its target branch",
|
|
1457
|
-
inputSchema:
|
|
1457
|
+
inputSchema: lazyJSONSchema(RebaseMergeRequestSchema),
|
|
1458
1458
|
},
|
|
1459
1459
|
// --- Explicit opt-in raw API. Not in `all` and not activatable via discover_tools. ---
|
|
1460
1460
|
{
|
|
1461
1461
|
name: "gitlab_api_request",
|
|
1462
1462
|
description: "DANGER: bypasses group and project restrictions, tool allowlists (GITLAB_TOOLS and GITLAB_DENIED_TOOLS_REGEX on other tools), and individual tool safety checks. The full token scope is exposed.",
|
|
1463
|
-
inputSchema:
|
|
1463
|
+
inputSchema: lazyJSONSchema(GitLabApiRequestSchema),
|
|
1464
1464
|
},
|
|
1465
1465
|
// --- Meta tool: Dynamic tool discovery ---
|
|
1466
1466
|
{
|
|
@@ -1479,9 +1479,9 @@ export const allTools = [
|
|
|
1479
1479
|
{
|
|
1480
1480
|
name: "help",
|
|
1481
1481
|
description: "Return a short GitLab workflow guide. Omit topic for the overview and topic list.",
|
|
1482
|
-
inputSchema:
|
|
1482
|
+
inputSchema: lazyJSONSchema(HelpInputSchema),
|
|
1483
1483
|
},
|
|
1484
|
-
];
|
|
1484
|
+
]);
|
|
1485
1485
|
// Define which tools are read-only
|
|
1486
1486
|
export const readOnlyTools = new Set([
|
|
1487
1487
|
"discover_tools",
|