Execute Code in the Roblox Game Client
executeRun Luau code in a Roblox game client. Use this to execute scripts that do not need return values; for data retrieval, use the get-data-by-code tool instead.
Instructions
Execute Luau in the active Roblox client without returning output. Use get-data-by-code instead when you need returned values.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| code | Yes | The code to execute in the Roblox Game Client. This tool does NOT return output - use get-data-by-code if you need to retrieve data. | |
| threadContext | No | The thread identity (0–8) to execute the code in (default: 8, normal game scripts run on 2) |