worktrees-delete
worktrees-deleteDelete a worktree by its unique ID to remove it from the shared workspace.
Instructions
Deletes a worktree
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_id": "<worktree_id>"
},
"name": "worktrees-delete"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| worktree_id | Yes | Worktree ID (@rid format) |