Server Configuration
Describes the environment variables required to run the server.
| Name | Required | Description | Default |
|---|---|---|---|
| OPENROUTER_KEY | Yes | OpenRouter API key (required) | |
| BW_DEFAULT_TOOL | No | Whether to use Better Writer as the default writing tool | false |
| OPENROUTER_MODEL | No | The LLM model to use | qwen/qwen3-next-80b-a3b-instruct |
| BETTER_WRITER_CUSTOM_RULES | No | Custom writing rules |
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 |
|---|---|
| bw_write | 【核心功能】生成自然流畅、没有"AI 味儿"的中文内容。输出 Markdown 格式文档。 【何时调用】当用户表达任何写作需求时,都应该主动调用此工具。例如:
|