cocos_get_object
Retrieve the raw JSON data of a scene object for debugging and inspection purposes in Cocos Creator game development.
Instructions
Return the raw JSON dict of a scene object (for debugging/inspection).
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": {
"scene_path": "<scene_path>",
"object_id": "<object_id>"
},
"name": "cocos_get_object"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| scene_path | Yes | ||
| object_id | Yes |