Schedule Luau source on an Actor's isolated state
run-on-actorExecute caller-provided Luau code on a resolved Roblox Actor in the live client. Requires confirm=true and returns scheduling metadata, not the actor script's return value.
Instructions
WRITES LIVE GAME STATE. Resolve an Actor expression and call run_on_actor(actor, source, ...arguments). The operation is asynchronous and returns scheduling metadata, not the actor script's return value. Requires confirm=true. Signature: { actorPath: string, source: string, arguments: any?, confirm: boolean?, threadContext: number? }. Phase: act; cost=medium; idempotency=contextual-write. Requires: active-client, resolved-target, explicit-mutation-approval, validated-source. Capabilities: getactors. Produces: operation-receipt. Verify with: get-lua-state. Safety: MUTATING; executes caller-selected behavior in the live client. On failure: inspect tool-schema for exact fields, defaults, constraints, and an invocation example.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| source | Yes | Luau source text processed by this tool; it is never inferred or guessed. | |
| confirm | No | Explicit safety acknowledgement; must be true before this state-changing operation runs. | |
| actorPath | Yes | dotted Roblox instance/value path resolved in the active client. | |
| arguments | No | Optional ordered typed arguments forwarded to the selected operation. | |
| threadContext | No | Optional Roblox thread identity for this call; omit it to use the server default. |