install_package
Install a Unity package from registry, Git, local path, or .unitypackage file
Category: Packages
Parameters
Section titled “Parameters”| Name | Type | Required | Default | Description |
|---|---|---|---|---|
package_id |
string | Package identifier (e.g., com.unity.inputsystem) | ||
version |
string | Specific version (optional, latest if not specified) | ||
git_url |
string | Git repository URL for Git packages | ||
local_path |
string | Local path for local packages (file:../path) | ||
unitypackage_path |
string | Path to .unitypackage file to import | ||
interactive |
boolean | false |
Show import dialog for .unitypackage (default: false, imports all) |
Example call
Section titled “Example call”The arguments below are the required ones; add the optional ones you need.
{ "name": "install_package", "arguments": {}}In SuperSave mode
Section titled “In SuperSave mode”When Unity runs with NANORA_MCP_SUPERSAVE=1, call it through the execute meta tool: {"tool": "install_package", "args": { … }}. See SuperSave mode.
Source
Section titled “Source”Generated from Assets/NanoraUnityMCP/Editor/Tools/PackageManagerTools.cs (version 1.2.1). The client receives the same schema from tools/list.