Search the Luau garbage collector (getgc)
gc-searchSearch through Roblox client's garbage collector to find in-memory functions by name or script path, and tables by key/value contents when not reachable via the instance tree.
Instructions
Scan live functions and tables in the Roblox client's garbage collector. Use to locate in-memory functions by name or defining script, or tables by their key/value contents, when the value isn't reachable through the instance tree. Requires an executor that supports getgc.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "gc-search"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | Maximum number of matches to return (default: 50, max: 200). | |
| query | No | Case-insensitive substring matched against function names / defining script paths and table string keys and values. Omit to enumerate (combine with filterType and limit). | |
| filterType | No | Restrict results to functions, tables, or both (default: all). | all |
| includeValues | No | For table results, include a short preview of keys/values (default: false). |