Create Cocos Project
cocos_local_create_projectGenerate a new Cocos Creator 3.8 project from a built-in template, with optional mini-game skeleton scripts and editor bridge configuration.
Instructions
Create a local Cocos Creator 3.8 project from a built-in template, optionally adding Codex mini-game skeleton scripts and the editor bridge.
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": {
"projectRoot": "<projectRoot>"
},
"name": "cocos_local_create_project"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| gameName | No | Project package name. Defaults to the project directory name. | |
| overwrite | No | ||
| scenePath | No | assets/scenes/Main.scene | |
| createScene | No | ||
| creatorPath | No | Optional explicit CocosCreator executable path used to locate built-in templates. | |
| projectRoot | Yes | ||
| templateName | No | empty-2d | |
| createSkeleton | No | ||
| editorBridgePort | No | ||
| installEditorBridge | No |