execute_luau
Run Luau code in the 2021 Roblox Studio edit context and return output, letting AI assistants inspect or modify the DataModel programmatically.
Instructions
Executes Luau code in 2021 Roblox Studio edit context and returns output
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": {
"code": "<code>"
},
"name": "execute_luau"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| code | Yes | Luau code to run |