add_package
Add packages from registry, GitHub, or disk to Unity Package Manager with optional version and branch specifications.
Instructions
Adds packages into the Unity Package Manager
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | No | The path to use (folder path for disk method or subfolder for GitHub) | |
| branch | No | The branch to use for GitHub packages (optional) | |
| source | Yes | The source to use (registry, github, or disk) to add the package | |
| version | No | The version to use for registry packages (optional) | |
| packageName | No | The package name to add from Unity registry (e.g. com.unity.textmeshpro) | |
| repositoryUrl | No | The GitHub repository URL (e.g. https://github.com/username/repo.git) |