17#ifdef NEOGRAPH_HAVE_GRPC
22#include <unordered_map>
27namespace neograph::grpc {
31using ToolFn = std::function<std::string(
const std::string&)>;
36NEOGRAPH_API
void run_tool_server(
37 const std::string& address,
38 std::unordered_map<std::string, ToolFn> tools);
56 GrpcRemoteTool(
const std::string& target,
58 std::string description,
59 neograph::json parameters);
60 ~GrpcRemoteTool()
override;
62 ChatTool get_definition()
const override;
63 std::string execute(
const neograph::json& arguments)
override;
64 std::string get_name()
const override;
68 std::unique_ptr<Impl> impl_;
NEOGRAPH_API export/import macro for shared-library builds.