pleach_merge
Merges two branches by materializing a merge base and dispatching a background agent to reconcile them. Read-only by default; set allow_writes to permit edits.
Instructions
SIDE-EFFECTFUL: materializes a merge base and dispatches a background Claude agent to reconcile the two branches (read-only unless allow_writes). Use pleach_merge_plan first and confirm with the user before calling this.
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_a": "<branch_a>",
"branch_b": "<branch_b>"
},
"name": "pleach_merge"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| cwd | No | Project directory to scope to. Omit to use the current project. | |
| branch_a | Yes | ||
| branch_b | Yes | ||
| allow_writes | No | Let the merge agent edit files (default read-only). |