Select repository for sandboxes
select_repoSelects one repository for a sandbox environment and updates its base branch when reselected. Use the internal repository databaseId from GET /repos as repositoryId.
Instructions
Select repository for sandboxes. Idempotently selects one repository for the sandbox environment. Use databaseId from GET /repos as repositoryId; selecting an already-selected repository updates its baseBranch.
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": {
"repositoryId": "<repositoryId>"
},
"name": "select_repo"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| baseBranch | No | main | |
| repositoryId | Yes | Internal repository `databaseId` returned by `GET /repos`. |