Get module source
get-module-sourceDecompile a specific Roblox ModuleScript by path to inspect its Luau source for debugging or analysis.
Instructions
Decompile a specific ModuleScript by path. Signature: { modulePath: string, threadContext: number? }. Phase: observe; cost=medium; idempotency=read-only. Requires: active-client, resolved-target. Capabilities: decompile. Produces: structured-observation. Safety: read-only. On failure: inspect tool-schema for exact fields, defaults, constraints, and an invocation example.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| modulePath | Yes | Luau expression or dotted path resolving to the target script/module. | |
| threadContext | No | Optional Roblox thread identity for this call; omit it to use the server default. |