create_worktree
Creates an isolated git worktree for a feature task, specifying the base branch (default main) to keep development separate from the main branch.
Instructions
Creates an ephemeral git worktree for isolated feature development
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": {
"task": "<task>"
},
"name": "create_worktree"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| task | Yes | Feature/task description | |
| base_branch | No | Base branch to create from (default: main) | main |