| { |
| "name": "git_worktree", |
| "description": "List or add git worktrees (git worktree <action>).", |
| "inputSchema": { |
| "type": "object", |
| "properties": { |
| "action": { |
| "description": "Git worktree action to be executed", |
| "enum": [ |
| "list", |
| "add" |
| ], |
| "type": "string" |
| }, |
| "branch": { |
| "description": "(Optional) Existing branch for the new worktree (used for add)", |
| "type": "string" |
| }, |
| "directory": { |
| "description": "The directory to run git worktree in", |
| "type": "string" |
| }, |
| "path": { |
| "description": "(Optional) Path for the worktree (required for add)", |
| "type": "string" |
| } |
| }, |
| "required": [ |
| "directory", |
| "action" |
| ] |
| } |
| } |