MCPcopy Create free account
hub / github.com/antirez/llama.cpp-deepseek-v4-flash / build_tools

Function build_tools

tools/server/server-tools.cpp:700–710  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

698//
699
700static std::vector<std::unique_ptr<server_tool>> build_tools() {
701 std::vector<std::unique_ptr<server_tool>> tools;
702 tools.push_back(std::make_unique<server_tool_read_file>());
703 tools.push_back(std::make_unique<server_tool_file_glob_search>());
704 tools.push_back(std::make_unique<server_tool_grep_search>());
705 tools.push_back(std::make_unique<server_tool_exec_shell_command>());
706 tools.push_back(std::make_unique<server_tool_write_file>());
707 tools.push_back(std::make_unique<server_tool_edit_file>());
708 tools.push_back(std::make_unique<server_tool_apply_diff>());
709 return tools;
710}
711
712void server_tools::setup(const std::vector<std::string> & enabled_tools) {
713 if (!enabled_tools.empty()) {

Callers 1

setupMethod · 0.85

Calls 1

push_backMethod · 0.45

Tested by

no test coverage detected