worktrees-activate
worktrees-activateActivate a worktree to switch context to its linked case, setting it as the current case for subsequent operations.
Instructions
Activates a worktree by setting its linked case as the current case. Use this when entering a worktree to automatically switch context to its associated case.
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": {
"worktree_id": "<worktree_id>"
},
"name": "worktrees-activate"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| worktree_id | Yes | Worktree ID (@rid format) |