fork_repository
Create a fork of a repository to contribute changes using the fork-branch-PR workflow. Signs and broadcasts an on-chain transaction, returning the fork ID.
Instructions
Use this when you need to fork a repository for contribution (fork -> branch -> PR workflow). Signs and broadcasts an on-chain transaction. Returns the fork ID. Requires 'owner' and 'name'. Optional: 'fork_name' (defaults to source name), 'fork_description', 'branch' (specific branch to fork), 'fork_owner' (defaults to authenticated user). See also: git_clone, create_pull_request.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| owner | Yes | Source repository owner (username or DAO name) | |
| name | Yes | Source repository name | |
| fork_name | No | Name for the forked repository (defaults to source name) | |
| fork_description | No | Description for the fork | |
| branch | No | Branch to fork (defaults to all branches) | |
| fork_owner | No | Owner of the fork (defaults to authenticated user) |