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.
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": {
"modulePath": "<modulePath>"
},
"name": "get-module-source"
}
}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. |