Execute Code in the Roblox Game Client
executeRun Luau code in the active Roblox game client for side effects only; does not return output. Use separate tool to retrieve data.
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 to execute the code in (default: 8, normal game scripts run on 2) |