get_repo_file
Retrieve file content from Azure DevOps repositories to access code, configurations, or documentation stored in version control.
Instructions
Get file content from a repository
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": "<repo>",
"path": "<path>"
},
"name": "get_repo_file"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| project | No | Project name (default: YourProject). Specify any project name in your organization | |
| repo | Yes | Repository name | |
| path | Yes | File path in repository | |
| branch | No | Branch name (default: main) | |
| download | No | Download as text |