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.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "new-lua-state-proxy"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| threadContext | No | Optional Roblox thread identity for this call; omit it to use the server default. |