repo_get_repo_by_name_or_id
Retrieve an Azure DevOps repository by name or ID, optionally within a specified project, to locate the correct repository for further operations.
Instructions
Get a repository by its name or ID.
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": "repo_get_repo_by_name_or_id"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| project | No | The project name or ID. | |
| repositoryId | Yes | The repository name or ID. |