Sourcegraph

Integrate Sourcegraph with your AI workspace

Sourcegraph is a code intelligence platform that enables developers to search, understand, and manage code across large codebases.

Explore Triggers and Actions

Check Site Settings Edit Permission

Tool to check whether site settings can be edited through the API. Use when you need to confirm the API allows site settings edits before attempting configuration changes.

ActionTry it

Compare Commits

Tool to compare two commits in a repository and retrieve their file diffs. Use after confirming the repository name and commit SHAs to inspect differences.

ActionTry it

Get Commit Details

Get detailed information about a specific commit in a repository.

ActionTry it

Get Current User

Tool to retrieve information about the currently authenticated user. Use when needing confirmation of identity via Sourcegraph GraphQL API.

ActionTry it

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.

ActionTry it

List Repositories

Tool to list repositories on the Sourcegraph instance. Use when you need to paginate through all available repositories.

ActionTry it

List Repository Files

Tool to list all files and directories in a repository path. Use when you need to enumerate files in a repository without cloning.

ActionTry it

List repository languages

Tool to list languages used in a repository. Use when you need to determine the primary and all languages of a given repository; call after you have the repository name.

ActionTry it
Sourcegraph integration | Dench