UNPKG

@tiberriver256/mcp-server-azure-devops

Version:

Azure DevOps reference server for the Model Context Protocol (MCP)

36 lines 1.49 kB
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.pullRequestsTools = void 0; const zod_to_json_schema_1 = require("zod-to-json-schema"); const schemas_1 = require("./schemas"); /** * List of pull requests tools */ exports.pullRequestsTools = [ { name: 'create_pull_request', description: 'Create a new pull request', inputSchema: (0, zod_to_json_schema_1.zodToJsonSchema)(schemas_1.CreatePullRequestSchema), }, { name: 'list_pull_requests', description: 'List pull requests in a repository', inputSchema: (0, zod_to_json_schema_1.zodToJsonSchema)(schemas_1.ListPullRequestsSchema), }, { name: 'get_pull_request_comments', description: 'Get comments from a specific pull request', inputSchema: (0, zod_to_json_schema_1.zodToJsonSchema)(schemas_1.GetPullRequestCommentsSchema), }, { name: 'add_pull_request_comment', description: 'Add a comment to a pull request (reply to existing comments or create new threads)', inputSchema: (0, zod_to_json_schema_1.zodToJsonSchema)(schemas_1.AddPullRequestCommentSchema), }, { name: 'update_pull_request', description: 'Update an existing pull request with new properties, link work items, and manage reviewers', inputSchema: (0, zod_to_json_schema_1.zodToJsonSchema)(schemas_1.UpdatePullRequestSchema), }, ]; //# sourceMappingURL=tool-definitions.js.map