{
  "name": "evolve-memory-system",
  "description": "小说《进化》的记忆和知识管理系统，提供GraphRAG查询、记忆搜索和文件管理功能。",
  "version": "1.0.0",
  "apis": [
    {
      "type": "openapi",
      "url": "http://localhost:3333/openapi.json"
    }
  ],
  "auth": {
    "type": "none"
  },
  "tools": [
    {
      "name": "graphrag_query",
      "description": "查询图数据库，用于探索角色、地点、事件之间的关系。",
      "inputSchema": {
        "type": "object",
        "properties": {
          "query": {
            "type": "string",
            "description": "Cypher查询语句。例如：MATCH (c:Character)-[:ATTENDED]->(e:Event) RETURN c.name, e.title"
          }
        },
        "required": ["query"]
      }
    },
    {
      "name": "lmce_search_memory",
      "description": "在本地记忆库中搜索相关内容。",
      "inputSchema": {
        "type": "object",
        "properties": {
          "query": {
            "type": "string",
            "description": "搜索关键词"
          }
        },
        "required": ["query"]
      }
    },
    {
      "name": "file_reader",
      "description": "读取项目中的文件，如大纲、设定等。",
      "inputSchema": {
        "type": "object",
        "properties": {
          "file_path": {
            "type": "string",
            "description": "要读取的文件的完整路径"
          }
        },
        "required": ["file_path"]
      }
    },
    {
      "name": "file_writer",
      "description": "将生成的内容写入项目文件，如草稿、笔记等。",
      "inputSchema": {
        "type": "object",
        "properties": {
          "file_path": {
            "type": "string",
            "description": "要写入的文件的完整路径"
          },
          "content": {
            "type": "string",
            "description": "要写入的内容"
          }
        },
        "required": ["file_path", "content"]
      }
    }
  ]
}