Lookup function in getgc
lookup-functionSearch live functions by name, source, or constant text to retrieve enriched debug metadata for reverse engineering in Roblox.
Instructions
Search live functions by name/source/constant text and return enriched debug metadata for reverse engineering. Signature: { query: string, mode: any?, limit: any?, includeCClosures: any?, includeConstantsPreview: any?, threadContext: number? }. Phase: observe; cost=medium; idempotency=read-only. Requires: active-client. 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 |
|---|---|---|---|
| mode | No | Where to match the query (default: both). | both |
| limit | No | Maximum number of functions to return (default: 25). | |
| query | Yes | Case-insensitive query to match against name/source/constants. | |
| 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). | |
| includeConstantsPreview | No | Include a small constants preview if available (default: true). |