Fork repository
fork_repositoryCreate a fork of any repository in your authenticated account or a chosen organization to develop changes without affecting the original.
Instructions
Fork a repository to the authenticated user or a given organization.
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 |
|---|---|---|---|
| name | No | Name for the fork | |
| repo | Yes | Repository name | |
| owner | Yes | Repository owner (user or organization) | |
| organization | No |