submit_pull_request
Submit an approved pull request to a target repository after human confirmation, ensuring only authorized changes are merged into open-source projects.
Instructions
Submit approved pull request to target repository (Only runs when confirmed is set to true by human approval)
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"repo": "<repo>",
"issueNumber": "<issueNumber>",
"prTitle": "<prTitle>",
"prBody": "<prBody>",
"branchName": "<branchName>",
"filePath": "<filePath>",
"fileContent": "<fileContent>",
"commitMessage": "<commitMessage>",
"confirmed": "<confirmed>"
},
"name": "submit_pull_request"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| repo | Yes | Target repository in "owner/repo" format | |
| prBody | Yes | Pull Request Description / Summary of changes | |
| prTitle | Yes | Pull Request Title | |
| filePath | Yes | Path of file being updated or created | |
| confirmed | Yes | Explicit human confirmation gate. Must be true to execute PR submission. | |
| branchName | Yes | Feature branch name (e.g. "fix/parser-issue-42") | |
| fileContent | Yes | Final approved file content | |
| issueNumber | Yes | Original issue number | |
| commitMessage | Yes | Git Commit Message |