git_worktree_sandbox
Create, merge, or discard isolated Git worktrees for agent experiments, keeping the main workspace safe from accidental changes or corruption.
Instructions
Creates, merges, or discards isolated git worktrees so agent experiments never corrupt main workspace.
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": {
"action": "<action>"
},
"name": "git_worktree_sandbox"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| action | Yes | ||
| task_name | No | Name of the sandbox task |