Skip to main content
Glama

boj_github_merge_pr

Merge GitHub pull requests using merge, squash, or rebase methods to integrate code changes into repositories.

Instructions

Merge a pull request

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
ownerYes
repoYes
pull_numberYes
methodNo

Implementation Reference

  • The handler implementation for "boj_github_merge_pr" which calls the GitHub API to merge a pull request.
    case "boj_github_merge_pr":
      return githubApiCall("PUT", `/repos/${args.owner}/${args.repo}/pulls/${args.pull_number}/merge`, { merge_method: args.method || "merge" });
  • The schema/registration definition for "boj_github_merge_pr" including description and expected parameters.
    { name: "boj_github_merge_pr", desc: "Merge a pull request", props: { owner: { type: "string" }, repo: { type: "string" }, pull_number: { type: "number" }, method: { type: "string", enum: ["merge", "squash", "rebase"] } }, req: ["owner", "repo", "pull_number"] },

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/hyperpolymath/boj-server'

If you have feedback or need assistance with the MCP directory API, please join our Discord server