ateam_github_read
Read any file from a solution's GitHub repo. Returns the file content. Use this to read connector source code, skill definitions, or any versioned file. Default reads from main (deployed/prod state). Pass ref: 'dev' to read in-progress work.
⚠️ NOT RUNTIME STATE. For solution.json and skills/<id>/skill.json this returns a git MIRROR, not what is deployed. Connector-imported tools are regenerated at deploy time, so a repo copy's tools[] can differ from production (on one solution dev showed 29 tools while production ran 66). Reads of those paths carry an _ateam_representation field saying what you are holding. To answer "what can this skill actually do?", call ateam_get_solution(solution_id, skill_id, section:'tools') — never this tool.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ref | No | Branch, tag, or commit SHA to read from. Default: 'main' (prod). Use 'dev' to read in-progress work. | main |
| path | Yes | File path in the repo (e.g. 'connectors/home-assistant-mcp/server.js', 'solution.json', 'skills/order-support/skill.json') | |
| branch | No | Branch to read/write (alias for `ref`). Declared so MCP does not strip it — an undeclared argument is dropped silently, which made a branch:"dev" read return `main` with no error. | |
| solution_id | Yes | The solution ID |