insert_asset
Inserts a Roblox marketplace asset by ID into the edit copy and returns its path as one undo step; ownership required for third-party models.
Instructions
Insert a marketplace asset into the edit copy by id and return its path. Recorded as one Studio undo step. Roblox only lets Studio load assets the signed-in user owns, or Roblox-made ones, so most third-party free models fail until the user adds them to their inventory in the Toolbox. Run scan_backdoors after inserting a free model. For a file on this computer use import_file; to generate a new model with AI use generate_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": {
"assetId": "<assetId>"
},
"name": "insert_asset"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| place | No | Target place (PlaceId or project name). Defaults to the bound/sole connected place. | |
| assetId | Yes | Roblox asset id, e.g. from search_assets. | |
| parentPath | No | Where to put the inserted asset. Dot path from the DataModel root, e.g. "Workspace.Map.Door" or "StarterGui.HUD.Frame". A leading "game." is optional; a duplicate sibling name takes the suffix Tufan prints, e.g. "Part (2)". Omit to use Workspace. |