List Git Worktrees
worktree_listLists Git worktrees for a Herdr workspace or repository path, letting you inspect available worktrees by workspace ID or directory.
Instructions
List Git worktrees known to a Herdr workspace or repository path.
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": "worktree_list"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| cwd | No | Optional repository directory path. | |
| workspace_id | No | Optional workspace ID (mutually exclusive with cwd). |