| { |
| "name": "pull_request_assigned_to_me", |
| "description": "Search pull requests where you are the author or assignee. Set reviewer to true to also include pull requests where you are a requested reviewer (github and gitlab only).", |
| "inputSchema": { |
| "type": "object", |
| "properties": { |
| "azure_project": { |
| "description": "Optionally set the Azure DevOps project name of the pull request. Required for Azure DevOps", |
| "type": "string" |
| }, |
| "is_closed": { |
| "description": "Set to true if you want to search for closed pull requests", |
| "type": "boolean" |
| }, |
| "page": { |
| "description": "Optional parameter to specify the page number, defaults to 1", |
| "type": "number" |
| }, |
| "provider": { |
| "description": "Specify the git provider. Default is GITHUB", |
| "enum": [ |
| "github", |
| "gitlab", |
| "bitbucket", |
| "azure" |
| ], |
| "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" |
| }, |
| "reviewer": { |
| "description": "Set to true to also include pull requests where you are a requested reviewer. Supported by github, github_enterprise, gitlab, gitlab_self_hosted; ignored for Azure DevOps and Bitbucket.", |
| "type": "boolean" |
| }, |
| "with_branches": { |
| "description": "Include head/base branch names on each result. For GitHub this triggers an extra API call per PR, so leave off unless branches are needed.", |
| "type": "boolean" |
| } |
| }, |
| "required": [ |
| "provider" |
| ] |
| } |
| } |