git_worktree_open
Open a Git worktree in Cursor IDE by launching a new window at the worktree path, so you can edit files for a specific ticket without branch switching.
Instructions
Open a hop (git worktree) in Cursor IDE. Launches a new Cursor window at the worktree path. Use this when user wants to edit files in Cursor for a specific ticket/worktree.
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": "git_worktree_open"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| slug | No | Combined with ticket to identify specific worktree. | |
| branch | No | Branch name to find the worktree to open. | |
| ticket | No | Ticket ID to find the worktree to open. | |
| repoPath | No | Any path inside the git repository. | |
| worktreePath | No | Direct path to the worktree to open. |