contentrain_branch_delete
Delete a pending cr/* branch that will not be merged, such as a failed or superseded draft. Removes the branch and its unmerged commits.
Instructions
Delete a pending contentrain (cr/) branch that will not be merged — e.g. a branch left behind by a failed operation, or a superseded draft. Only cr/ branches can be deleted; the contentrain branch is protected. This is destructive: the branch and its unmerged commits are removed.
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": {
"branch": "<branch>",
"confirm": "<confirm>"
},
"name": "contentrain_branch_delete"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| branch | Yes | The cr/* branch to delete | |
| confirm | Yes | Must be true to confirm deletion |