Added an optional targetBranch parameter to the getListPullRequestsTool function to filter pull requests by the target branch they were merged into.
Modified the query construction to include the targetBranch filter if provided.
Ensured that if no targetBranch is specified, the query defaults to searching for pull requests merged to the default branch or those with no target_branch specified (legacy behavior).
targetBranch
parameter to thegetListPullRequestsTool
function to filter pull requests by the target branch they were merged into.targetBranch
filter if provided.targetBranch
is specified, the query defaults to searching for pull requests merged to the default branch or those with notarget_branch
specified (legacy behavior).