Call Cocos Editor Bridge
cocos_local_call_editor_bridgeSend HTTP requests to the Cocos Creator editor's local bridge to retrieve scene data or verify editor health for automation.
Instructions
Call the localhost HTTP bridge exposed by the Cocos editor extension after it is enabled in Cocos Creator.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "cocos_local_call_editor_bridge"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| body | No | ||
| port | No | ||
| route | No | HTTP route exposed by the editor bridge, such as /health or /scene/summary. | /health |
| method | No | GET | |
| timeoutMs | No |