Commencer maintenant
Sourcegraph Tools

Sourcegraph Get File Contents

Utilisez Sourcegraph Get File Contents avec Sourcegraph Tools via Aident Loadout. Vérifiez les entrées, sorties, la configuration, le tarif et le risque avant exécution.

Action d'écritureNiveau de risque 2 sur 5Connexion par clé API

Description du fournisseur

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.

Tarifs et limites

Tarif
Action gratuite
Paiement unifié
Non pris en charge actuellement

Entrées

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

Sortie observable

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

Skills qui utilisent cette Action

Cas d’usage associés

Aucun cas d’usage associé et vérifié pour le moment.

Source officielle

Source du fournisseur