roblox_exec
Run Luau code in Roblox Studio’s edit, server, or client domain to test scripts and inspect runtime behavior.
Instructions
Execute Luau in edit/server/client domain.
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": {
"source": "<source>"
},
"name": "roblox_exec"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| domain | No | edit | |
| source | Yes | ||
| confirm | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |