create_fork
Fork a repository on GitHub or GitLab by providing the platform, project ID, and optional fork parameters like organization or namespace.
Instructions
Create a fork of a repository
Args: platform: The platform name (github, gitlab) project_id: The repository ID to fork (owner/repo for GitHub, numeric for GitLab) **kwargs: Platform-specific fork parameters - GitHub: organization, name, default_branch_only - GitLab: namespace, name, path
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| kwargs | Yes | ||
| platform | Yes | ||
| project_id | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |