We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 57c2c64 commit 469ee2dCopy full SHA for 469ee2d
main/mcp_server.cc
@@ -327,9 +327,9 @@ void McpServer::ParseMessage(const cJSON* json) {
327
if (cJSON_IsString(cursor)) {
328
cursor_str = std::string(cursor->valuestring);
329
}
330
- auto with_system_tools = cJSON_GetObjectItem(params, "withSystemTools");
331
- if (cJSON_IsBool(with_system_tools)) {
332
- list_user_only_tools = with_system_tools->valueint == 1;
+ auto with_user_tools = cJSON_GetObjectItem(params, "withUserTools");
+ if (cJSON_IsBool(with_user_tools)) {
+ list_user_only_tools = with_user_tools->valueint == 1;
333
334
335
GetToolsList(id_int, cursor_str, list_user_only_tools);
0 commit comments