get_file_content
Retrieve file contents from Azure DevOps repositories to access code, documentation, or configuration files stored in your projects.
Instructions
Gets the content of a file in a repository.
Input Schema
Name | Required | Description | Default |
---|---|---|---|
path | Yes | The path to the file. | |
project | Yes | The name or ID of the project. | |
repository_id | Yes | The name or ID of the repository. |
Input Schema (JSON Schema)
{
"properties": {
"path": {
"description": "The path to the file.",
"type": "string"
},
"project": {
"description": "The name or ID of the project.",
"type": "string"
},
"repository_id": {
"description": "The name or ID of the repository.",
"type": "string"
}
},
"required": [
"project",
"repository_id",
"path"
],
"type": "object"
}