Resolve or rediscover a semantic world handle
resolve-entityResolves a session-local handle returned by observe-world back to its live Roblox Instance. Reattaches stale handles by fingerprint rediscovery when confidence passes the threshold.
Instructions
Resolve a session-local handle returned by observe-world back to its live Roblox Instance. A live weak reference resolves immediately. If it is stale or destroyed, optional bounded rediscovery scores candidates against the stored structural fingerprint (class, name, parent, grandparent, original path, and root) and reattaches the same handle when confidence clears the requested threshold. Returns an exact path and executable bracket-safe expression, class, confidence, staleness state, match evidence, runner-up ambiguity, scan counts, and truncation. Read-only; uses GetChildren with a hard cap and never performs GetDescendants or a frame loop. Signature: { handle: string, rediscover: any?, roots: any?, maxInstances: any?, minConfidence: any?, threadContext: number? }. Phase: verify; cost=medium; idempotency=read-only. Requires: active-client, semantic handle previously returned by observe-world. Produces: grounded-evidence, live-instance-path, actionable-instance-expression, staleness-status, structural-match-confidence, resolution-evidence. Safety: read-only. On failure: inspect tool-schema for exact fields, defaults, constraints, and an invocation example.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| roots | No | Roots searched when rediscovering a stale handle. | |
| handle | Yes | Session-local entity handle returned by observe-world, for example 'wb:12'. | |
| rediscover | No | When true, a stale weak reference triggers bounded structural rediscovery. False only reports staleness. | |
| maxInstances | No | Hard maximum number of unique instances examined during rediscovery. | |
| minConfidence | No | Minimum adjusted fingerprint confidence required to reattach a stale handle. Ambiguous runner-up matches reduce confidence. | |
| threadContext | No | Optional Roblox thread identity for this call; omit it to use the server default. |