run_luau
Execute arbitrary Luau code in a Roblox client to capture printed output and serialized return values for debugging.
Instructions
Execute arbitrary Luau in the Roblox client and return captured output plus a best-effort serialized return value. Power tool.
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": "run_luau"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| code | Yes |