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
feat(pullrequests): add labels support to create_pull_request tool
Add optional 'labels' parameter to the create_pull_request tool,
enabling users to apply labels during PR creation.
Since the GitHub REST API doesn't support labels in the PR creation
endpoint, labels are applied in a second step via the Issues API
(POST /repos/{owner}/{repo}/issues/{issue_number}/labels).
Changes:
- Add 'labels' array property to CreatePullRequest InputSchema
- Add post-creation AddLabelsToIssue call in the handler
- Add labels input field to pr-write MCP App UI
- Add test cases for label success and failure scenarios
- Update toolsnap snapshot and README documentation
0 commit comments