Get file content
get_file_contentRetrieve file contents from an Azure DevOps repository. Specify the file path and optionally the branch to get file content directly from the repository.
Instructions
Read the content of a file from a repository at an optional branch.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| project | No | Azure DevOps project name or id. Defaults to AZDO_PROJECT if set. | |
| repositoryId | Yes | Repository id or name. | |
| path | Yes | File path within the repo, e.g. /src/index.ts | |
| branch | No | Branch name (without refs/heads/). Defaults to the repo default branch. |