Distinguish newcclosure wrappers from native C closures
is-new-c-closureCheck whether a target Luau function is a new C closure using the executor's closure primitives. Provide a function path and optional thread context to get a read-only observation.
Instructions
Call isnewcclosure with the iscustomcclosure alias when available. Signature: { functionPath: string, threadContext: number? }. Phase: observe; cost=medium; idempotency=read-only. Requires: active-client, resolved-target. Capabilities: debug closure primitives. Produces: structured-observation, created-handle. 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. |