open_worktree_with_ai
Use an AI CLI tool to open a git worktree from a repository branch, creating isolated environments for parallel development tasks.
Instructions
gtr ai コマンドでworktreeをAIツール(AI CLI)で開く。
gtr がインストールされている場合のみ使用可能。
※ Owner と Admin のみ使用可能。
Args: repo_path: リポジトリのパス branch: ブランチ名 caller_agent_id: 呼び出し元エージェントID(必須)
Returns: 実行結果(success, branch, message または 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>",
"branch": "<branch>"
},
"name": "open_worktree_with_ai"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| branch | Yes | ||
| repo_path | Yes | ||
| caller_agent_id | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||