herdr_worktree_create
Create or open a Git worktree and return its workspace, so you can run isolated jobs without changing your main repository.
Instructions
Create (or open) a git worktree and return its 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": "herdr_worktree_create"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| cwd | No | Repository path. | |
| base | No | Base ref. | |
| path | No | Worktree path (must be inside HERDR_MCP_CWD_ALLOW when set). | |
| focus | No | Move focus to the new workspace. | |
| label | No | Label. | |
| branch | No | Branch name. | |
| workspace_id | No | Source workspace id. |