cocos_stop_preview
Stop the preview HTTP server on a specified port to halt live testing of Cocos Creator game projects.
Instructions
Stop the preview HTTP server on the given port.
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_stop_preview"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| port | No |