Trigger a ProximityPrompt
fire-proximity-promptTrigger a ProximityPrompt via its Luau path, bypassing distance and hold checks to run server-side interaction logic for automation.
Instructions
WRITES LIVE GAME STATE. Resolve a Luau expression to a ProximityPrompt and trigger it via the executor's fireproximityprompt, exactly as if the local player walked up and held the prompt's key to completion. This bypasses distance, hold-duration, line-of-sight and Enabled checks and fires the prompt's Triggered signal, so any server logic bound to it runs (open a door, buy an item, pick up an object). Use it to drive interaction-gated game flow during automation/testing. Guards that fireproximityprompt exists in this executor and that the target is actually a ProximityPrompt before firing; the fire call is pcall-guarded. WARNING: this mutates the running game and the effect may replicate to the server. Returns { Path, ok } or { error }. Signature: { path: string, threadContext: number? }. Phase: act; cost=medium; idempotency=contextual-write. Requires: active-client, resolved-target, explicit-mutation-approval. Capabilities: fireproximityprompt. Produces: operation-receipt. Verify with: assert-state. Safety: MUTATING; writes live game/client state. On failure: inspect tool-schema for exact fields, defaults, constraints, and an invocation example.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | Yes | Luau expression resolving to the ProximityPrompt to fire, e.g. 'game.Workspace.Door.Attachment.ProximityPrompt' or 'game.Workspace.Shop.BuyPart.ProximityPrompt'. Evaluated as `return <path>` and must resolve to an Instance whose ClassName is 'ProximityPrompt'. | |
| threadContext | No | Optional Roblox thread identity for this call; omit it to use the server default. |