Link a git repository
link_git_repoKeeps the code on GitHub or GitLab: a push to the default branch deploys production, a pull or merge request opens a preview; unlink removes the link.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "link_git_repo"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| repo | No | "owner/name" (GitHub) or "group/project" (GitLab). | |
| forge | No | The repository's forge. | |
| token | No | Access token for the forge; it goes to the vault. | |
| unlink | No | true: removes the link and the webhook. | |
| project | No | The project. | |
| base_url | No | Address of a self-hosted GitLab. |