fork_existing_module
Download and update metadata to fork an existing module. Preview changes with dry run before execution.
Instructions
Fork an existing module by downloading it and updating its metadata.
⚠️ IMPORTANT: REQUIRES USER CONFIRMATION ⚠️ This function performs an irreversible action.
Step 1 - ALWAYS use dry_run=True first. This is an irreversible action. Step 2 - Present the dry run output to the user showing what will be changed. Step 3 - Ask if user wants to make any changes to the fork parameters. Step 4 - Call the tool without dry run to execute the fork.
Args: source_module_id (str): ID of the module to fork from the control plane new_flavor (str): New flavor name for the forked module new_version (str): New version for the forked module (default: "1.0.0") dry_run (bool): If True, shows what would be done without executing (default: True)
Returns: str: JSON formatted response with fork operation details
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| source_module_id | Yes | ||
| new_flavor | Yes | ||
| new_version | No | 1.0.0 | |
| dry_run | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |