读取节点及组件属性
cocos_node_queryFetch node and component attributes from a Cocos Creator project by supplying projectId and node IDs, enabling inspection for debugging and automation.
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_node_query"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| params | Yes | ||
| projectId | Yes | ||
| instanceId | No | ||
| operationId | No | ||
| expectedRevision | No | ||
| runtimeInstanceId | No |