forkRepo
Duplicate any existing repository into a new one, setting a custom name and description. Choose public or private visibility to control who can access the copy.
Instructions
Fork an existing repository
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": {
"sourceRepoId": "<sourceRepoId>",
"newRepoName": "<newRepoName>"
},
"name": "forkRepo"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| relays | No | ||
| privkey | No | Private key (auto-loaded) | |
| publicRead | No | false = private fork. Default true. | |
| graspServer | No | ||
| newRepoName | Yes | Name for forked repo | |
| sourceRepoId | Yes | Repo to fork | |
| sourceOwnerPubkey | No | Owner of source repo | |
| newRepoDescription | No | Description for forked repo |