Version Control
vcsPerform Git version control actions and remote repository operations, including status, diff, log, pull requests, issues, and code search.
Instructions
Git version control and remote repo operations.
Local git actions: status, diff, log, blame, branches, stash_list Remote API actions: list_repos, get_repo, sync_repo, list_pulls, get_pull, get_pull_diff, get_pull_comments, get_pull_commits, get_pull_checks, get_pull_summary, summarize_pull, review_pull, comment_pull, merge_pull, list_issues, get_issue, create_issue, update_issue, comment_issue, list_commits, get_commit, get_commit_diff, compare_refs, list_branches_remote, list_tags, get_tree, get_blob, search_code, search_vcs, get_activity, list_notifications, mark_notification_read, mark_all_notifications_read, list_links, create_link, delete_link, list_automations, create_automation, update_automation, delete_automation, register_webhook, unregister_webhook
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ref | No | Git ref (branch, tag, commit) | |
| body | No | Body content | |
| data | No | Additional data for create/update operations | |
| page | No | Page number | |
| path | No | File path for diff/blame/tree/blob | |
| event | No | Review event (APPROVE/REQUEST_CHANGES/COMMENT) | |
| limit | No | Max entries (default: 20) | |
| query | No | Search query | |
| state | No | State filter (open/closed) | |
| title | No | Title for create_issue | |
| action | Yes | VCS action to perform | |
| labels | No | Labels for issues | |
| staged | No | Show staged changes only (for diff) | |
| link_id | No | Link ID | |
| repo_id | No | Repository ID for remote actions | |
| base_ref | No | Base ref for compare_refs | |
| per_page | No | Results per page | |
| provider | No | VCS provider (github/gitlab/bitbucket) | |
| repo_ref | No | Repository reference (owner/repo) for remote actions | |
| pull_number | No | Pull request number | |
| issue_number | No | Issue number | |
| workspace_id | No | Workspace ID for remote VCS actions | |
| automation_id | No | Automation ID | |
| notification_id | No | Notification ID |