add_asset_to_scene
Instantiates a specified asset from the AssetDatabase into the active Unity scene at an optional position.
Instructions
Adds an asset from the AssetDatabase to the Unity scene
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "add_asset_to_scene"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| guid | No | The GUID of the asset | |
| parentId | No | The instance ID of the parent GameObject | |
| position | No | Position in the scene (defaults to Vector3.zero) | |
| assetPath | No | The path of the asset in the AssetDatabase | |
| parentPath | No | The path of the parent GameObject in the hierarchy |