repo_checkout
Check out a branch, tag, or commit in a workspace to set the exact code state for pull request automation. Provides deterministic version control for PR workflows.
Instructions
Checkout a branch, tag or commit.
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": {
"workspace_id": "<workspace_id>",
"ref": "<ref>"
},
"name": "repo_checkout"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ref | Yes | ||
| workspace_id | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||