forked from xiaozhi/xiaozhi-esp32
v1.6.6: Set MCP as default IoT Protocol (#690)
This commit is contained in:
@@ -255,6 +255,7 @@ public:
|
||||
return instance;
|
||||
}
|
||||
|
||||
void AddCommonTools();
|
||||
void AddTool(McpTool* tool);
|
||||
void AddTool(const std::string& name, const std::string& description, const PropertyList& properties, std::function<ReturnValue(const PropertyList&)> callback);
|
||||
void ParseMessage(const cJSON* json);
|
||||
@@ -264,7 +265,6 @@ private:
|
||||
McpServer();
|
||||
~McpServer();
|
||||
|
||||
void AddCommonTools();
|
||||
void ParseCapabilities(const cJSON* capabilities);
|
||||
|
||||
void ReplyResult(int id, const std::string& result);
|
||||
|
||||
Reference in New Issue
Block a user