Get function upvalues
get-function-upvaluesFind matching functions in getgc() and dump their upvalues for live reverse engineering, enabling closure inspection and Luau runtime analysis.
Instructions
Find matching functions in getgc() and dump their upvalues for live reverse engineering. Signature: { query: string, sourceQuery: string?, maxFunctions: any?, maxUpvalues: any?, includeCClosures: any?, threadContext: number? }. Phase: observe; cost=medium; idempotency=read-only. Requires: active-client. Capabilities: debug closure primitives. 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 |
|---|---|---|---|
| query | Yes | Case-insensitive match against function name/source. | |
| maxUpvalues | No | Maximum upvalues per function (default: 30). | |
| sourceQuery | No | Optional additional source filter. | |
| maxFunctions | No | Maximum number of matched functions to inspect (default: 5). | |
| threadContext | No | Optional Roblox thread identity for this call; omit it to use the server default. | |
| includeCClosures | No | Include C closures (default: false). |