Verify an instance path resolves
verify-path-existsCheck whether a dotted Roblox instance path resolves to a real Instance before click, type, or property actions. Use it as a pre-flight check to fail fast on stale or wrong paths.
Instructions
Cheaply check whether a dotted instance path currently resolves to a real Instance, without reading any properties. Use this as a pre-flight check before click-button / type-text-box / get-instance-properties so you fail fast with a clear message instead of acting on a stale or wrong path (UI gets created/destroyed dynamically). Returns { exists, className?, fullName? } — when exists is false, className/fullName are omitted. Signature: { path: string, threadContext: number? }. Phase: verify; cost=medium; idempotency=read-only. Requires: active-client, resolved-target. Produces: structured-result. Safety: read-only. On failure: inspect tool-schema for exact fields, defaults, constraints, and an invocation example.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | Yes | Dotted path to verify, starting at 'game' (e.g. 'game.Players.LocalPlayer.PlayerGui.Shop.BuyButton'). Resolution walks each '.'-separated segment via direct indexing then FindFirstChild. | |
| threadContext | No | Optional Roblox thread identity for this call; omit it to use the server default. |