Read a community health file's content
Fetch the actual content of one org-wide default community health file.
Before you call this
Section titled “Before you call this”You need the file’s path within the org’s .github repo. Get it from
list-org-health-files.md first.
get_org_health_file { "org": "<org>", "path": "CONTRIBUTING.md" }Result
Section titled “Result”{ "path": "CONTRIBUTING.md", "content": "# Contributing\n\n..."}content is already decoded to a plain UTF-8 string — GitHub’s contents
API returns base64, and this tool does that decoding for you before
returning.
Reads only the org’s public .github repo, never .github-private.
Requesting a directory path instead of a file returns something that
doesn’t match this tool’s expected shape — use
list-org-health-files.md for directories.