You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
"List pull-request cards for a project (runs grouped by meta.pr.id). Supports cursor pagination, runs_per_pr preview count, and filters by tags, branches, authors, and latest-run status. Requires projectId.",
211
+
inputSchema: listProjectPullRequestsTool.schema,
212
+
},
213
+
listProjectPullRequestsTool.handler,
214
+
);
215
+
216
+
server.registerTool(
217
+
"currents-list-project-terms",
218
+
{
219
+
description:
220
+
"List cursor-paginated project terms for one type (tag, branch, authorName, etc.). Supports search, sort direction, and starting_after or ending_before cursors. Requires projectId and termType.",
221
+
inputSchema: listProjectTermsTool.schema,
222
+
},
223
+
listProjectTermsTool.handler,
224
+
);
225
+
226
+
server.registerTool(
227
+
"currents-create-jira-issue",
228
+
{
229
+
description:
230
+
"Create a Jira issue from a run test using the organization Jira integration. Requires projectId, runId, testId, jiraInstallationId, jiraProjectId, and jiraIssueType. Optional customFields array.",
"List Jira projects available for the organization integration. Use returned project IDs as jiraProjectId when creating issues. Requires jira_installation_id.",
241
+
inputSchema: listJiraProjectsTool.schema,
242
+
},
243
+
listJiraProjectsTool.handler,
244
+
);
245
+
246
+
server.registerTool(
247
+
"currents-list-jira-issue-types",
248
+
{
249
+
description:
250
+
"List Jira issue types and custom fields for a Jira project. Requires jiraProjectId and jira_installation_id.",
251
+
inputSchema: listJiraIssueTypesTool.schema,
252
+
},
253
+
listJiraIssueTypesTool.handler,
254
+
);
255
+
197
256
// Runs API tools
198
257
server.registerTool(
199
258
"currents-get-runs",
@@ -317,6 +376,18 @@ server.registerTool(
317
376
getTestResultsTool.handler,
318
377
);
319
378
379
+
380
+
// Context API tools
381
+
server.registerTool(
382
+
"currents-get-context",
383
+
{
384
+
description:
385
+
"Get test failure context for AI debugging at run, instance, or test level. Supports json or md format, detail level, and pagination for failed tests. Requires run_id for run-level, or instance_id with optional test_id.",
0 commit comments