search_game_tree
Find Roblox game objects by name or class within a specific scope, with result limits.
Instructions
Search for instances in the game tree by name or class
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"query": "<query>"
},
"name": "search_game_tree"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| query | Yes | Search query (name or class name) | |
| scope | No | Scope path to search within (e.g. game.Workspace) | |
| max_results | No | Maximum results (default 20) |