instance_create
Creates a new Roblox Instance of any valid ClassName under a specified parent, with optional initial properties, attributes, name, and CollectionService tags.
Instructions
Create a new Instance of any valid Roblox ClassName under a specified parent with initial properties and attributes.
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": {
"className": "<className>",
"parent": "<parent>"
},
"name": "instance_create"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | No | Optional name for the new Instance. Defaults to the ClassName. | |
| tags | No | List of CollectionService tags to add to the instance. | |
| parent | Yes | Full path or UUID of the parent Instance (e.g. "Workspace", "ReplicatedStorage.Remotes", "ServerScriptService"). | |
| className | Yes | The Roblox ClassName to create (e.g. "Part", "Model", "Folder", "RemoteEvent", "ModuleScript", "Highlight", "Sound", "Attachment"). | |
| attributes | No | Dictionary of initial attributes to assign. | |
| properties | No | Dictionary of initial properties to assign (e.g. {"Size": [4, 1, 2], "Anchored": true, "Color": [1, 0, 0]}). |