update_pull_request_branch
Update a pull request branch with the latest changes from the base branch
Purpose
This skill provides access to the MCP tool update_pull_request_branch. It allows you to update a pull request branch with the latest changes from the base branch.
Parameters
The tool accepts the following parameters:
owner
Required
- Type:
string - Description: Repository owner (username or organization)
repo
Required
- Type:
string - Description: Repository name
pull_number
Required
- Type:
number - Description: Pull request number
expected_head_sha
Optional
- Type:
string - Description: The expected SHA of the pull request's HEAD ref
Usage Instructions
To use this tool:
- Prepare the parameters according to the schema above
- Invoke the MCP tool
update_pull_request_branchwith the prepared parameters - Process the result returned by the tool
Example
{
"owner": "example_value",
"repo": "example_value",
"pull_number": 123,
"expected_head_sha": "example_value"
}
Notes
- This skill requires an active MCP connection to the server providing the
update_pull_request_branchtool - Ensure the MCP server is properly configured and running before attempting to use this tool
- Review the parameter requirements carefully to avoid errors