Create Space Repository Link Tool
create-space-repository-linkUse this when the user wants to link an authorized provider repository to a Space for Autopilot sync. After authorization, this state-changing external action creates the link with triggers, path filters, notifications, or auto-apply settings and requires Enterprise access.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| branch | Yes | Repository branch name that Autopilot should monitor for this link. | |
| provider | Yes | github, gitlab, bitbucket, or azure. | |
| space_id | Yes | Numeric Space ID where the Autopilot repository link should be created. | |
| path_filters | No | Optional path filters. | |
| trigger_events | Yes | push and/or pr_merge. | |
| auto_apply_enabled | Yes | Enterprise auto-apply flag. | |
| repository_identifier | Yes | Provider repository identifier. | |
| ai_context_instructions | No | Optional AI instructions. | |
| auto_apply_threshold_pct | Yes | Auto-apply threshold percent from 95 to 100. | |
| notify_on_new_suggestions | Yes | Email notification flag. | |
| notification_channels_input | Yes | Notification channel settings. |