repo_open_remote
Clone a remote Git repository into an isolated workspace and check out a branch to start working. Returns a project brief and isolates each task so parallel jobs don't interfere.
Instructions
Clone (or refresh) a remote Git repository into an isolated managed workspace and check out a branch. Use for work on a repository that is not already on this machine. Returns the same project brief as workspace_open. Each task gets its own workspace so parallel tasks cannot interfere.
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": {
"repository": "<repository>"
},
"name": "repo_open_remote"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| task | No | Short task label (e.g. "drawdown-alerts"). Keeps concurrent tasks on the same repo isolated, and lets you reattach later. | |
| depth | No | Shallow clone depth. Omit for a full clone (needed for diffs against the base branch). | |
| branch | No | Branch to check out. Default: the repository default branch. | |
| repository | Yes | github:owner/repo, gitlab:group/repo, https://host/owner/repo.git, or git@host:owner/repo.git |