Push Stacked Pull Request
push_stacked_prAtomically commit file additions/edits/deletions onto a stacked feature branch on bare Git storage (or use an already-pushed branch), create/update the Pull Request, link parentPrNumber into the Virtual Stacked PR DAG, and optionally attach cryptographic agent attestation.
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": {
"owner": "<owner>",
"repo": "<repo>",
"head": "<head>",
"title": "<title>"
},
"name": "push_stacked_pr"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| base | No | Target base branch. Optional when `parentPrNumber` is provided (automatically targets parent PR head branch). | |
| body | No | Pull request Markdown description. | |
| head | Yes | Feature/stacked branch name (e.g. "stack/01-schema"). Created automatically from `base` or `parentPrNumber` if `files` are supplied. | |
| repo | Yes | Repository name. | |
| draft | No | ||
| files | No | Optional list of file changes to commit atomically onto `head` without requiring a local git clone. | |
| owner | Yes | Repository owner username or organization. | |
| title | Yes | Pull request title. | |
| attestation | No | Optional cryptographic agent provenance metadata to sign and attach immediately. | |
| commitMessage | No | Commit message when `files` are provided (defaults to `title`). | |
| parentPrNumber | No | Optional parent Pull Request number in the Virtual Stacked PR DAG. |