fork_repository
Fork a GitLab project into your account or a chosen namespace to create an independent copy for modifications, experimentation, or merge request contributions.
Instructions
Fork a GitLab project to your account or specified namespace
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": {
"owner": "<owner>",
"repo": "<repo>"
},
"name": "fork_repository"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| repo | Yes | Project path/name (e.g. 'pro-portal-onboarding-and-retention') | |
| owner | Yes | Project namespace/path (e.g. 'pro/portal/frontends') or numeric Project ID | |
| organization | No | Optional: organization to fork to (defaults to your personal account) |