git_remote
Lists a repository's remotes with fetch and push URLs, redacting credentials in URL userinfo, query, or fragment so remote configuration can be inspected without exposing secrets.
Instructions
Lists the repository's remotes with their fetch and push URLs, like git remote -v. Credentials embedded in a URL's userinfo, query values or fragment are shown as ; path segments are shown as configured
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>"
},
"name": "git_remote"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| repo_path | Yes | The path to the Git repository. |