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
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": {
"platform": "<platform>",
"project_id": "<project_id>",
"kwargs": "<kwargs>"
},
"name": "create_fork"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| kwargs | Yes | ||
| platform | Yes | ||
| project_id | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |