Check whether a function currently has an executor hook
is-function-hookedCheck whether a Luau function is already hooked before modifying or restoring it. Resolve a target by path and return a read-only hook status observation.
Instructions
Resolve a function and call isfunctionhooked before hooking/restoring it. Signature: { functionPath: string, threadContext: number? }. Phase: observe; cost=medium; idempotency=read-only. Requires: active-client, resolved-target. Produces: structured-observation. Verify with: is-function-hooked. 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. |