fork_repository
Fork a GitLab project to your account or a specified namespace. Create a new project copy with the required permissions for independent work.
Instructions
Fork a project to your account or specified namespace. Use this to create a copy of an existing project in the current user's namespace or a permitted namespace; use search_repositories or get_project to inspect projects without copying them. The operation creates a new project, requires fork permission, and returns the forked project or a namespace/permission error.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| jmespath | No | Optional JMESPath expression filtering the JSON result before return. | |
| namespace | No | Namespace to fork to (full path) | |
| project_id | Yes | Project ID or complete URL-encoded path to project |