haops_git_read_file
Read file content from a project's Git repository. Specify project, file path, and branch; returns text or a binary file indicator.
Instructions
Read file content from a project's Git repository. Returns text content for text files, or a "binary file" message for binary files. Supports multi-repo projects via repositoryName.
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": {
"projectSlug": "<projectSlug>",
"filePath": "<filePath>"
},
"name": "haops_git_read_file"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ref | No | Git ref/branch (default: main) | |
| filePath | Yes | File path in repository | |
| projectSlug | Yes | The project slug (URL identifier) | |
| repositoryName | No | Repository name for multi-repo projects (default: first/main repo) |