Update Space Repository Link Tool
update-space-repository-linkUse this when the user wants to change an existing Space Autopilot repository link. After authorization, this state-changing external action updates its branch, triggers, path filters, AI context, notifications, or auto-apply settings and requires Enterprise access.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"space_id": "<space_id>",
"link_id": "<link_id>"
},
"name": "update-space-repository-link"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| branch | No | Repository branch name that Autopilot should monitor after the update. | |
| link_id | Yes | Numeric repository link ID to update. Use list-space-repository-links first when needed. | |
| space_id | Yes | Numeric Space ID containing the Autopilot repository link to update. | |
| path_filters | No | Optional path filters. | |
| trigger_events | No | push and/or pr_merge. | |
| auto_apply_enabled | No | Enterprise auto-apply flag. | |
| ai_context_instructions | No | Optional AI instructions. | |
| auto_apply_threshold_pct | No | Auto-apply threshold percent from 95 to 100. | |
| notify_on_new_suggestions | No | Email notification flag. | |
| notification_channels_input | No | Notification channel settings. |