worktree_create
Creates a Git worktree and opens it as a linked workspace, enabling parallel branch work without switching the main checkout.
Instructions
Create a git worktree and open it as a linked workspace.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "worktree_create"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| cwd | No | ||
| base | No | ||
| path | No | ||
| focus | No | ||
| label | No | ||
| branch | No | ||
| workspace_id | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||