list_worktrees
Retrieve a list of git worktrees for a given repository path to track parallel development branches.
Instructions
リポジトリのworktree一覧を取得する。
Args: repo_path: メインリポジトリのパス caller_agent_id: 呼び出し元エージェントID(必須)
Returns: worktree一覧(success, worktrees, count または error)
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": {
"repo_path": "<repo_path>"
},
"name": "list_worktrees"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| repo_path | Yes | ||
| caller_agent_id | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||