Server Configuration
Describes the environment variables required to run the server.
| Name | Required | Description | Default |
|---|---|---|---|
| WEWORK_BOT_KEY | No | 企业微信群机器人key | |
| WEWORK_BASE_URL | No | 企业微信API反代理地址,用于可信IP | https://qyapi.weixin.qq.com |
| TELEGRAM_BASE_URL | No | Telegram API base URL | https://api.telegram.org |
| WEWORK_APP_CORPID | No | 企业微信所属的企业ID | |
| WEWORK_APP_SECRET | No | 企业微信应用的凭证密钥 | |
| WEWORK_APP_TOUSER | No | 企业微信默认接收人ID | |
| TELEGRAM_BOT_TOKEN | No | Telegram Bot Token | |
| WEWORK_APP_AGENTID | No | 企业微信应用的ID | |
| TELEGRAM_DEFAULT_CHAT | No | Telegram Default Chat ID |
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 |
|---|---|
| wework_send_text | 通过企业微信群机器人发送文本或Markdown消息 |
| wework_send_image | 通过企业微信群机器人发送图片消息 |
| wework_send_news | 通过企业微信群机器人发送图文链接消息 |
| wework_app_send_text | 通过企业微信应用号发送文本或Markdown消息 |
| wework_app_send_image | 通过企业微信应用号发送发送图片消息 |
| wework_app_send_video | 通过企业微信应用号发送发送视频消息 |
| wework_app_send_voice | 通过企业微信应用号发送发送语音消息 |
| wework_app_send_file | 通过企业微信应用号发送发送文件消息 |
| wework_app_send_news | 通过企业微信应用号发送图文卡片消息 |
| tg_send_message | Send text message via telegram bot |
| tg_send_photo | Send photos via telegram bot |
| tg_send_video | Send video via telegram bot |
| tg_send_audio | Send audio via telegram bot |
| tg_send_file | Send general files via telegram bot |
| tg_markdown_rule | Telegram supports Markdown formatting. Must use this tool before sending markdown to Telegram. |