instantiate_asset
Instantiate a prefab or asset into the current scene. Supports positioning via coordinates or raycast to floor.
Category: Query
Parameters
Section titled “Parameters”| Name | Type | Required | Default | Description |
|---|---|---|---|---|
asset_path |
string | Path to the asset (e.g., ‘Assets/Prefabs/Enemy.prefab’) | ||
guid |
string | Asset GUID (alternative to path) | ||
position |
object | World position for the instance | ||
rotation |
object | Euler rotation for the instance | ||
parent_selector |
string | U-Selector for parent object | ||
place_on_floor |
boolean | false |
Use raycast to place on floor/terrain | |
instance_name |
string | Custom name for the instance |
Example call
Section titled “Example call”The arguments below are the required ones; add the optional ones you need.
{ "name": "instantiate_asset", "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": "instantiate_asset", "args": { … }}. See SuperSave mode.
Source
Section titled “Source”Generated from Assets/NanoraUnityMCP/Editor/Tools/SearchAssetsTool.cs (version 1.2.1). The client receives the same schema from tools/list.