workspace_state
Get a live snapshot of the Roblox workspace: view summaries, object counts, hierarchy changes, camera viewport, and metadata.
Instructions
Snapshot of the place. Actions: summary (place info, top-level services, selection, camera), counts (instance counts by ClassName under a path), sync (hierarchy outline + metadata + change stats), snapshot (instance tree under a path, maxDepth), changes (recent added/removed instances — installs a watcher on first call), clear_history (reset the change log), viewport (camera + viewport size + selection bounds), metadata (place ids, counts, timestamps), scripts (all script paths with line counts), selection_info (selection with bounds), clear_cache (drop watchers and cached plugin state).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | No | ||
| topN | No | ||
| limit | No | changes: max events returned (default 20) | |
| action | Yes | ||
| maxDepth | No | snapshot depth (default 4) | |
| includeMetadata | No | sync: include metadata block (default true) | |
| includeCameraInfo | No | viewport: include camera (default true) | |
| includeSelectionBounds | No | viewport: include selection bounds (default true) |