Sourcegraph logo

Sourcegraph

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

8 actions Integration catalog
Request access
Connect Sourcegraph once you're in Boring.
01 · WHAT THE AGENT CAN DO

Actions

Every capability is a discrete, logged action the agent calls by name — scoped to what you authorize and recorded in the run trace.

Check Site Settings Edit PermissionSOURCEGRAPH_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.
Compare CommitsSOURCEGRAPH_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.
Get Commit DetailsSOURCEGRAPH_GET_COMMIT_DETAILS
Get detailed information about a specific commit in a repository.
Get Current UserSOURCEGRAPH_GET_CURRENT_USER
Tool to retrieve information about the currently authenticated user. Use when needing confirmation of identity via Sourcegraph GraphQL API.
Get File ContentsSOURCEGRAPH_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.
List RepositoriesSOURCEGRAPH_LIST_REPOSITORIES
Tool to list repositories on the Sourcegraph instance. Use when you need to paginate through all available repositories.
List Repository FilesSOURCEGRAPH_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.
List repository languagesSOURCEGRAPH_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.