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
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 |
Input Schema (JSON Schema)
{
"properties": {
"className": {
"description": "Roblox class name (e.g., \"Part\", \"Script\", \"Folder\")",
"type": "string"
},
"name": {
"description": "Optional name for the new object",
"type": "string"
},
"parent": {
"description": "Path to the parent instance (e.g., \"game.Workspace\")",
"type": "string"
},
"properties": {
"description": "Properties to set on creation",
"type": "object"
}
},
"required": [
"className",
"parent"
],
"type": "object"
}