Aident logoAident logo centerAident Loadout
Use CasesPricingDocs
ENStart Now
AppsSourcegraph ToolsSourcegraph Get File Contents
Sourcegraph Tools

Sourcegraph Get File Contents

Tool to fetch the contents of a specified file on the default branch. Use when you need raw file text without cloning the repo or using a slower code-host API.

Write actionRisk level 2 of 5API key connection
Use Sourcegraph Get File Contents

Pricing and limits

Aident logo

Product

Aident LoadoutAident Playbook EditorOpen-CUAK

About

AppsSkillsUse CasesDocsBlogPricingDownloadsPrivacy PolicyTerms of Service

Alternatives

vs Composiovs Zapier
llms.txtGet an AI summary of Aident LoadoutSummarize with ChatGPTSummarize with ClaudeSummarize with GeminiSummarize with Perplexity

© Aident Labs, 2024-2026

Pricing
Free
Unified payment
Not currently supported

Inputs

  • file_pathstring
    Required
    Path to the file in the repository, relative to the root, e.g., 'README.md'.
  • repo_namestring
    Required
    Full repository name, including host and path, e.g., 'github.com/uber/react-map-gl'.

Observable output

  • data
    Required
    Data from the action execution
  • errorstring
    Error if any occurred during the execution of the action
  • successfulboolean
    Required
    Whether or not the action execution was successful or not

Skills that use this Action

Related use cases

No verified related use cases are linked yet.

Official source

Provider source

Skills that use this Action

No published Skills explicitly reference this Action yet.