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

Method to_json

tools/server/server-tools.cpp:104–114  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

102}
103
104json server_tool::to_json() {
105 return {
106 {"display_name", display_name},
107 {"tool", name},
108 {"type", "builtin"},
109 {"permissions", json{
110 {"write", permission_write}
111 }},
112 {"definition", get_definition()},
113 };
114}
115
116//
117// read_file: read a file with optional line range and line-number prefix

Callers 1

setupMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected