Studio status
studio_statusCheck the connected Roblox Studio's current state—place name, mode, selection, open scripts, and data model size—to verify connectivity before other actions and resolve NO_STUDIO or TIMEOUT errors.
Instructions
One-call snapshot of the connected Roblox Studio: place name and id, whether it is in edit / run / play mode, the current selection, which scripts are open in the editor, and how big the data model is.
Call this FIRST in any Studio session, and again whenever a tool reports NO_STUDIO or TIMEOUT — it is the cheapest way to tell a disconnected plugin apart from a genuinely failing request. Also call it before and after playtest, because most tools behave differently in run mode.
openScripts is what the user is actually working on: for each open tab it gives the script's path, the cursor line, any selected text, and which lines are on screen. Use it whenever a request is deictic — 'this function', 'the script I'm in', 'fix this' — instead of searching the place or asking which file they mean. Studio exposes no focused-tab API, so with several open, prefer the one holding a selection and otherwise ask.
Returns JSON. Selection is capped at 50 entries and selected text at 400 characters; use find or script_read for more.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| studioId | No | Target a specific Studio instance. Omit to use the active one (see list_studios / set_active_studio). |