Link GitHub repository
source_linkLinks the actual GitHub repository selected from the checkout to this project. Existing GitHub authorization must cover that repository; authorization failure leaves the source provider unchanged. A project whose source is managed by ohmyho.st cannot be linked to GitHub (409 source_switch_unsupported).
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": {
"project_id": "<project_id>",
"repository_owner": "<repository_owner>",
"repository_name": "<repository_name>",
"idempotency_key": "<idempotency_key>"
},
"name": "source_link"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| project_id | Yes | ||
| idempotency_key | Yes | ||
| repository_name | Yes | ||
| repository_owner | Yes |