get_repo_info
Retrieve essential details about the current git repository, including current and default branches, remote URL, and detected platform (GitHub/GitLab).
Instructions
Get information about the current git repository: current branch, default branch, remote URL, and detected platform (github/gitlab).
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": {
"cwd": "<cwd>"
},
"name": "get_repo_info"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| cwd | Yes | Working directory — must be inside a git repository |