Get multiple files' content
get_files_contentFetch contents of multiple repository files in a single call at a specified branch, commit, or tag, with per-path diagnostics for missing files.
Instructions
Read several files from one repository at the same branch/commit/tag in a single call. Existence and metadata are checked with one itemsbatch request, then contents are fetched in parallel. Missing files are reported per path with the same verbose diagnostics as get_file_content.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| tag | No | Tag name (alternative to branch). | |
| paths | Yes | File paths inside the repository. | |
| branch | No | Branch name (e.g. 'develop'). Defaults to the repository's default branch. | |
| commit | No | Commit SHA (alternative to branch). | |
| project | No | Team project name or id that owns the repository. Overrides TFS_DEFAULT_PROJECT. | |
| repository | Yes | Repository name or id. | |
| maxBytesPerFile | No | Truncate each file beyond this many bytes. |