检查缺失组件与无效对象引用
cocos_scene_validateCheck Cocos Creator scenes for missing components and invalid object references, enabling quick fixes to prevent runtime errors.
Instructions
检查缺失组件与无效对象引用
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": {
"projectId": "<projectId>",
"params": "<params>"
},
"name": "cocos_scene_validate"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| params | Yes | ||
| projectId | Yes | ||
| instanceId | No | ||
| operationId | No | ||
| expectedRevision | No | ||
| runtimeInstanceId | No |