orca_worktree_rm
Removes a worktree and deletes its local branch when Orca can prove it is merged. Use it to clean up completed agent worktrees; this action is destructive.
Instructions
Remove a worktree (and its local branch when Orca can prove it is merged). Destructive.
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": {
"worktree": "<worktree>"
},
"name": "orca_worktree_rm"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| force | No | ||
| worktree | Yes | Absolute path |