create_object_with_properties
Generate and configure Roblox objects with specific properties in Roblox Studio, defining class, parent, name, and attributes directly upon creation.
Instructions
Create a new Roblox object instance with initial 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_object_with_properties"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| className | Yes | Roblox class name (e.g., "Part", "Script", "Folder") | |
| name | No | Optional name for the new object | |
| parent | Yes | Path to the parent instance (e.g., "game.Workspace") | |
| properties | No | Properties to set on creation |