List GC functions
list-gc-functionsEnumerate live Lua closures from getgc() to return debug names, sources, lines, and upvalues, aiding live reversing when script paths are unknown.
Instructions
Enumerate live Lua closures from getgc() and return debug metadata (name/source/line/upvalues). Useful for live reversing when script paths are unknown. Signature: { nameQuery: string?, sourceQuery: string?, includeCClosures: any?, limit: any?, threadContext: number? }. Phase: observe; cost=medium; idempotency=read-only. Requires: active-client. Capabilities: getgc. Produces: bounded-candidates. Safety: read-only. On failure: inspect tool-schema for exact fields, defaults, constraints, and an invocation example.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | Maximum number of functions to return (default: 100). | |
| nameQuery | No | Optional case-insensitive substring match against function names. | |
| sourceQuery | No | Optional case-insensitive substring match against debug source/short_src. | |
| threadContext | No | Optional Roblox thread identity for this call; omit it to use the server default. | |
| includeCClosures | No | Include C closures from getgc (default: false). |