Home / Projects / NiPlex-Harness / Tools / GitHub tools / git_read_file

Pictures

git_read_file

Reads one file from a repo.

Since 2 Sept 2026

Reads one file from a repo.

Tool name
git_read_file
Group
GitHub
Risk
low
Needs approval
never
Approval rule
No approval.
Allowed in scheduled jobs
No
Default
off

Parameters

NameTypeRequiredDefaultMeaningLimits
repostringYesRepository as owner/name.
pathstringYesPath relative to the project, such as vault/note.md.

Returns

File text.

Example (made up for this page)

Call
{
  "repo": "demo",
  "path": "demo"
}
Result
# Demo

Side effects

  • Calls the GitHub API.

How it can fail

WhenWhat the agent sees
No tokenNot configured text
Not foundGitHub error: HTTP 404

Checked against the source at commit f4fd89f on 29 Oct 2026. Everything here is merged on the main branch; no release has been tagged yet. The source is private, so these pages are the public description.