Executor capability matrix (closure, Actor/state, and core primitives)
test-capabilitiesProbe executor functions to determine which are callable versus missing. Use the report to check workflow support or compare executors without invoking functions.
Instructions
In-game capability matrix: probes a curated executor/runtime function list and reports which are present (callable) versus missing. For each name it checks the global environment (getgenv() first, then the thread's environment / _G) and, for dotted names like 'debug.getinfo', walks the parent table — classifying the leaf as available only when it is type=='function'. The probe NEVER calls the functions, so it is completely safe and side-effect-free. Covers reflection/closures (getgc, constants/upvalues/protos, clone/wrapper/type/hook/hash functions), script access (getscriptbytecode/closure/caller/hash, getscripts, getrunningscripts, getloadedmodules, getsenv/getfenv), instance/actor discovery (getactors, Actor Lua-state execution, communication channels, getnilinstances, getinstances), environments (getgenv, getrenv, getreg), hooking (hookfunction, hookmetamethod, restorefunction, newcclosure), metatables (getrawmetatable, setrawmetatable, setreadonly, isreadonly), namecall/signals (getnamecallmethod, getconnections, firesignal, replicatesignal, getcallbackvalue, getsignalarguments), threads (setthreadidentity, getthreadidentity), and IO/misc (loadstring, fireproximityprompt, fireclickdetector, firetouchinterest, virtual-input globals, getcustomasset, request/http_request). Use this to decide up-front whether a workflow is supported, or to compare two executors. Returns { total, availableCount, missingCount, available[], missing[] } (both lists sorted) or { error }. Signature: { threadContext: number? }. Phase: verify; cost=medium; idempotency=read-only. Requires: active-client. Produces: diagnostic-report. Safety: read-only. On failure: inspect tool-schema for exact fields, defaults, constraints, and an invocation example.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| threadContext | No | Optional Roblox thread identity for this call; omit it to use the server default. |