track_object_creation
Monitor object creation of any Godot class by setting a tracking period; record a baseline count and later poll for differences to detect new instances.
Instructions
Track object creation for a specific class over a duration. Records a baseline count; poll get_object_count afterward to see changes.
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": {
"class_name": "<class_name>"
},
"name": "track_object_creation"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| duration | No | Tracking duration in seconds (default: 10) | |
| class_name | Yes | Godot class name to track (e.g. 'Node2D', 'RigidBody3D') |