Documentation Index Fetch the complete documentation index at: https://mintlify.com/nnaridz/RbxGenie/llms.txt
Use this file to discover all available pages before exploring further.
Description
Returns a list of all service instances that are direct children of the game object. Each service includes its name, class name, and direct child count.
This is useful for understanding what services are present in your game and getting an overview of top-level structure.
HTTP Endpoint
Request Parameters
No parameters required.
Array of service objects The service name (e.g., “Workspace”, “Players”, “ReplicatedStorage”)
The class name of the service
Number of immediate children in this service
Example
const response = await fetch ( 'http://127.0.0.1:7766/tool/get_services' , {
method: 'POST' ,
headers: { 'Content-Type' : 'application/json' },
body: JSON . stringify ({})
});
const data = await response . json ();
console . log ( data . result );
// Example output:
// {
// "services": [
// {
// "name": "Workspace",
// "className": "Workspace",
// "childCount": 12
// },
// {
// "name": "Players",
// "className": "Players",
// "childCount": 0
// },
// {
// "name": "Lighting",
// "className": "Lighting",
// "childCount": 3
// },
// {
// "name": "ReplicatedStorage",
// "className": "ReplicatedStorage",
// "childCount": 8
// },
// {
// "name": "ServerScriptService",
// "className": "ServerScriptService",
// "childCount": 15
// }
// ]
// }
Implementation Details
From InstanceTools.lua:63-73:
Iterates through game:GetChildren()
Returns name, class name, and child count for each service
Always succeeds (no error cases)