selection
Retrieve the instances currently selected in Roblox Studio so coding agents can act on them, or set the selection programmatically to target specific paths before running edits.
Instructions
Get the instances the user currently has selected in Studio (great for 'fix this'), or set the selection.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "selection"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| set | No | Paths to select. Omit to just read the selection. | |
| studio | No | Optional. Target Studio (name substring, place id or id). Only needed when several Studios are open and none was selected. |