打开预览服务
start_previewLaunch a local hot-reload HTTP server for a Spark OP prototype by slug, returning the URL to open in Codex's built-in browser; omit the slug to get the list page.
Instructions
启动 127.0.0.1 热更新 HTTP 服务,返回给 Codex 内置浏览器打开的 URL。
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": "start_preview"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| slug | No | 指定原型;省略则返回列表页 |