Check whether a closure originates from the executor
is-executor-closureCheck whether a closure is executor-created or game-created by resolving a Luau function path, with optional thread context for the call.
Instructions
Call isexecutorclosure with checkclosure/isourclosure aliases to distinguish executor-created closures from game closures. Signature: { functionPath: string, threadContext: number? }. Phase: observe; cost=medium; idempotency=read-only. Requires: active-client, resolved-target. 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 |
|---|---|---|---|
| functionPath | Yes | Luau expression resolving to the target function. | |
| threadContext | No | Optional Roblox thread identity for this call; omit it to use the server default. |