Reference
Repository action reference
Every GitHub, GitLab, and Bitbucket action exposed by the unified repository surface, grouped by workflow and parameter contract.
The vcs domain is the repository-native surface for GitHub, GitLab, and
Bitbucket. It complements the higher-level integration search: use
integrations to retrieve connected product knowledge, and use VCS when the
request is about a repository object, diff, review, notification, link,
automation, webhook, or ingest operation.
Provider values
| Value | Repository service |
|---|---|
github | GitHub |
gitlab | GitLab, including nested group paths |
bitbucket | Bitbucket |
Use repo_ref for a complete path such as owner/repo or
group/subgroup/repo. The separate owner and repo fields are convenient
for simple two-segment paths.
Repository and project actions
| Action | Purpose |
|---|---|
list_repos | List repositories available through the connection |
get_repo | Read one repository |
sync_repo | Refresh repository data |
update_repo_settings | Change the stored repository sync configuration |
delete_repo | Remove the connected repository record |
get_repo_projects | List ContextStream projects linked to a repository |
link_repo_project | Link a repository to an existing project |
import_repo_project | Create/import a ContextStream project from a repository |
ingest_repo | Request repository ingestion |
get_ingest_status | Read repository-ingest progress |
Project-linking calls use project_id or project_name; import flows can also
use description, create_project, ingest, and sync_config. Removing a
repository connection and deleting the upstream repository are different
operations: confirm the live schema and result before any destructive call.
Pull request actions
| Action | Purpose |
|---|---|
list_pulls | List pull/merge requests |
get_pull | Read one pull request |
get_pull_diff | Retrieve its diff |
get_pull_comments | Retrieve review and discussion comments |
get_pull_commits | List included commits |
get_pull_checks | Read checks/statuses |
get_pull_summary | Read the stored summary |
summarize_pull | Generate/update a summary |
review_pull | Submit a review |
comment_pull | Add a general comment |
merge_pull | Merge the pull request |
Use number for the pull request. review_pull accepts an event of
APPROVE, REQUEST_CHANGES, or COMMENT, a review body, and optional
inline comments. merge_pull accepts merge, squash, or rebase through
merge_method, plus optional commit title and message fields.
Reviews, comments, and merges change the upstream provider. A read-only code review should stop before those actions unless the user explicitly asks to publish or merge.
Issue actions
| Action | Purpose |
|---|---|
list_issues | List issues |
get_issue | Read one issue |
get_issue_comments | Read its comments |
create_issue | Create an upstream issue |
update_issue | Change an upstream issue |
comment_issue | Add an issue comment |
Issue writes use title, body, labels, and assignees as applicable.
These are provider issues, not native ContextStream
entity(kind="ticket", …) records.
Commits, refs, and files
| Action | Purpose |
|---|---|
list_commits | List commits |
get_commit | Read one commit |
get_commit_diff | Retrieve one commit's diff |
compare_refs | Compare a base and head ref |
list_branches | List branches |
list_tags | List tags |
get_tree | Read a repository tree |
get_blob | Read one blob/file |
search_code | Search code through the provider |
Use sha for a commit, base and head for comparisons, ref_name for a
branch/tag/commit selector, and path for a tree or blob path. Provider code
search and ContextStream's indexed search domain are different: provider
search sees the linked remote state, while ContextStream search is optimized
for grounded work across the indexed project.
Activity and notifications
| Action | Purpose |
|---|---|
get_activity | Read repository activity |
search_vcs | Search across repository objects |
list_notifications | List provider notifications |
mark_notification_read | Mark one notification read |
mark_all_notifications_read | Mark all notifications in the connected provider inbox read |
Notification mutation uses notification_id. Treat “mark all” as an explicit
write; do not run it merely to inspect the inbox.
Links, automations, and webhooks
| Action | Purpose |
|---|---|
list_links | List indexed links between repository and ContextStream objects |
create_link | Create a link |
delete_link | Delete a link |
list_automations | List repository automations |
create_automation | Create an automation |
update_automation | Update an automation |
delete_automation | Delete an automation |
register_webhook | Register a webhook |
unregister_webhook | Remove a webhook |
Links use source_type, source_id, target_type, and target_id; deletion
uses link_id. Automations use automation_id and
automation_config. Webhook registration and removal use the repository
identity plus the optional provider selector; the consolidated call exposes no
callback-URL or secret field.
Filters and pagination
Common selectors include provider, workspace_id, repo_ref (or
owner/repo), state, branch, and query. Lists use page and
per_page; code search can also use limit. search_vcs accepts scope
such as code, issues, or pull requests. sync_repo accepts full for a full
refresh. Preserve the same repository, provider, state, and branch filters
while paging.
The action enum is unified, but provider permissions and feature support still apply. A valid action can return an authorization or provider-capability error for a particular connection. Do not silently fall back to a different provider or repository.
Complete input field map
| Fields | Used for |
|---|---|
action, workspace_id, provider | Operation routing and workspace/provider scope |
owner, repo, repo_ref | Repository identity |
number, sha, base, head, ref_name, path | Pull, issue, commit, comparison, ref, tree, and blob identity |
state, branch, query, scope | List and search filters |
page, per_page, limit | Pagination and code-search result bounds |
full, sync_config | Full repository sync and stored sync settings |
project_id, project_name, description, create_project, ingest | Project linking, import, creation, and ingest |
title, body, event, merge_method, commit_title, commit_message, comments | Pull review/merge and issue/comment writes |
labels, assignees | Issue metadata |
notification_id | One notification mutation |
link_id, source_type, source_id, target_type, target_id | Indexed object links |
automation_id, automation_config | Automation identity and configuration |
The schema is consolidated, so the presence of a field does not mean every action consumes it. Use the action sections above and the live schema annotations together.