Skip to content

Commit 469ee2d

Browse files
committed
rename withSystemTools to withUserTools
1 parent 57c2c64 commit 469ee2d

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

main/mcp_server.cc

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -327,9 +327,9 @@ void McpServer::ParseMessage(const cJSON* json) {
327327
if (cJSON_IsString(cursor)) {
328328
cursor_str = std::string(cursor->valuestring);
329329
}
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;
330+
auto with_user_tools = cJSON_GetObjectItem(params, "withUserTools");
331+
if (cJSON_IsBool(with_user_tools)) {
332+
list_user_only_tools = with_user_tools->valueint == 1;
333333
}
334334
}
335335
GetToolsList(id_int, cursor_str, list_user_only_tools);

0 commit comments

Comments
 (0)