create_instance
Creates a new Roblox Studio instance such as a Part, Script, or Folder under a specified parent, with optional properties and target client.
Instructions
Create a new instance (Script, Part, Folder, etc.) with properties.
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": "create_instance"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | No | Instance name (optional, defaults to ClassName) | |
| client | No | Target a specific Studio client by name (as shown on the panel, e.g. "studio"). Omit to auto-pick: the only active client, or the most recently active one when several are connected. | |
| parent | Yes | Path to parent instance | |
| className | Yes | Class to create, e.g. "Part", "Script", "Folder" | |
| properties | No | Additional property assignments |