code.open_pr
Open a pull request from the current feature branch using GitHub CLI. Provide title, body, base branch, and draft flag to submit changes for review.
Instructions
[approval required][workspace write][risk:dangerous] Open a pull request with GitHub CLI from the current allowed feature branch.
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": {
"title": "<title>",
"body": "<body>"
},
"name": "code.open_pr"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| base | No | ||
| body | Yes | ||
| draft | No | ||
| title | Yes |