kb_write
Write Markdown notes into the game knowledge base: creates a new file or overwrites an existing one, optionally grouped by game name. Use it to save tactics, monster habits, and match conclusions.
Instructions
把一段 Markdown 写进知识库(不存在则新建,已存在则整体覆盖)。
用途:保存新学到的战术、怪物习性、本局结论。 入参:filename 文件名(不要带路径);markdown_content 正文;game_name 可选,用于分类到子文件夹。 返回:成功为「已写入知识库: <路径> (N 字符)」;失败返回「错误: ...」。 注意:这是覆盖写。想追加请用 kb_append。 下一步:想追加而不是覆盖,用 kb_append;写完可用 kb_search 抽查内容。
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| filename | Yes | ||
| game_name | No | ||
| markdown_content | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |