Construct a LuaStateProxy for the current state
new-lua-state-proxyCreate a LuaStateProxy and return serializable state metadata plus a retained reference, keeping raw proxies out of JSON. Read-only; requires an active client.
Instructions
Call LuaStateProxy.new() and return serializable state metadata plus a retained Reference; no raw proxy crosses JSON. Signature: { threadContext: number? }. Phase: observe; cost=medium; idempotency=read-only. Requires: active-client. Capabilities: getluastate. Produces: 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 |
|---|---|---|---|
| threadContext | No | Optional Roblox thread identity for this call; omit it to use the server default. |