| { |
| "name": "pull_request_create_review", |
| "description": "Create a review for a pull request", |
| "inputSchema": { |
| "type": "object", |
| "properties": { |
| "approve": { |
| "description": "Set to true if you want to approve the pull request", |
| "type": "boolean" |
| }, |
| "azure_project": { |
| "description": "Optionally set the Azure DevOps project name of the pull request. Required for Azure DevOps", |
| "type": "string" |
| }, |
| "provider": { |
| "description": "Specify the git provider. Default is GITHUB", |
| "enum": [ |
| "github", |
| "gitlab", |
| "bitbucket", |
| "azure" |
| ], |
| "type": "string" |
| }, |
| "pull_request_id": { |
| "description": "ID of the pull request to create the review for", |
| "type": "string" |
| }, |
| "repository_name": { |
| "description": "Set the repository name of the pull request. Required for Azure DevOps and Bitbucket", |
| "type": "string" |
| }, |
| "repository_organization": { |
| "description": "Set the organization name of the pull request. Required for Azure DevOps and Bitbucket", |
| "type": "string" |
| }, |
| "review": { |
| "description": "Comment to add to the pull request review", |
| "type": "string" |
| } |
| }, |
| "required": [ |
| "repository_name", |
| "repository_organization", |
| "pull_request_id", |
| "review", |
| "provider" |
| ] |
| } |
| } |