Server Configuration
Describes the environment variables required to run the server.
| Name | Required | Description | Default |
|---|---|---|---|
| WEAPP_AUTOCLOSE | No | 设置为 true 时,每次工具调用后关闭开发者工具会话 | |
| WEAPP_WS_ENDPOINT | No | 【推荐】已运行的开发者工具 WebSocket 端点。设置后,服务器使用 connect 模式而不是启动新实例。示例:ws://localhost:9420 | |
| WEAPP_AUTO_ACCOUNT | No | 传递给 --auto-account 用于自动登录 | |
| WEAPP_DEVTOOLS_CWD | No | 传递给开发者工具进程的工作目录 | |
| WEAPP_DEVTOOLS_ARGS | No | 启动时的额外 CLI 参数(空格分隔) | |
| WEAPP_DEVTOOLS_PORT | No | 启动开发者工具时的首选端口(回退到可用端口) | |
| WEAPP_TRUST_PROJECT | No | 设置为 true 以在启动时包含 --trust-project | |
| WEAPP_AUTOMATOR_MODE | No | 强制使用 launch 或 connect 模式。除非提供了 WEAPP_WS_ENDPOINT,否则默认为 launch | |
| WEAPP_DEVTOOLS_TICKET | No | 启动时传递给 --ticket | |
| WEAPP_DEVTOOLS_TIMEOUT | No | 启动超时时间(毫秒,默认 30000) | 30000 |
| WECHAT_DEVTOOLS_CLI_PATH | No | 微信开发者工具 CLI 路径(如果默认路径有效则可选) |
Schema
Prompts
Interactive templates invoked by user choice
| Name | Description |
|---|---|
No prompts | |
Resources
Contextual data attached and managed by the client
| Name | Description |
|---|---|
No resources | |
Tools
Functions exposed to the LLM to take actions
| Name | Description |
|---|---|
No tools | |