unity_asset_import
Import an external file into the Unity project as an asset by specifying the source path and destination within the Assets folder.
Instructions
Import an external file into the Unity project as an asset.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"sourcePath": "<sourcePath>",
"destinationPath": "<destinationPath>"
},
"name": "unity_asset_import"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| port | No | Unity instance port (from unity_select_instance). Always include it when multiple instances run. | |
| overwrite | No | Replace an existing asset at the destination (default false). | |
| sourcePath | Yes | Absolute path to the source file on disk | |
| destinationPath | Yes | Destination path inside Assets/ folder |