@codacy/codacy-mcp
Version:
Codacy MCP server
17 lines (16 loc) • 603 B
JavaScript
import { repositorySchema, toolNames } from '../schemas.js';
export const getRepositoryPullRequestTool = {
name: toolNames.CODACY_GET_REPOSITORY_PULL_REQUEST,
description: 'Get the pull request information for a repository. The response contains the analysis of the pull request.',
inputSchema: {
type: 'object',
properties: {
...repositorySchema,
pullRequestNumber: {
type: 'number',
description: 'Pull request number',
},
},
required: ['provider', 'organization', 'repository'],
},
};