Scaffold git worktrees
scaffold_worktreesValidate a git repository and create git worktrees for each plan, returning a ready-to-use prompt. Use dryRun to preview changes without modifying disk.
Instructions
Validate (git repo, no overlaps, safe paths) then create a git worktree per plan and return a ready-to-paste prompt per plan. Set dryRun to preview without touching disk.
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": {
"repoPath": "<repoPath>",
"plans": "<plans>"
},
"name": "scaffold_worktrees"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| repoPath | Yes | ||
| plans | Yes | ||
| dryRun | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| results | Yes |