hop_open
Opens a Git worktree in a new Cursor IDE window so you can edit files for a specific ticket or branch without context 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": "hop_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. |