Add explicit show_ui parameter to UI-enabled write tools
This pull request adds a new show_ui boolean parameter to the GitHub MCP App issue and pull request creation/update APIs. This parameter allows clients to explicitly control whether to show the interactive MCP App form or to execute the request directly, improving flexibility and user experience, especially for automated or pre-confirmed actions.
Rebased this branch onto main and addressed remaining Copilot review feedback in #2618 (ready to merge into this PR branch):
- Rebase resolves the BEHIND merge state (includes #2605 and #2600)
- Clarified
issueWriteFormParams/pullRequestWriteFormParamscomments:show_uiis a routing flag, not form-collected - Fixed
create_pull_requestshow_uidescription — removed misleading "reviewers" example (reviewers are onupdate_pull_request, not here) - Regenerated docs and toolsnap
All pkg/github and pkg/inventory tests pass locally.
Update: opened #2619 (mergeable, no conflicts) with the same changes — merges main and addresses the remaining Copilot review feedback. Ready for a maintainer to merge into this branch.
@mattdholloway couple of questions:
- is it weird for this to be present when no apps are available?
- how did testing go? Did you find agents using it effectively?