You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
description="Returns a tree structure listing all virtual .d.ts declaration files available for connected MCP servers. "+
23
+
"Each server has a corresponding file (e.g., servers/<serverName>.d.ts) that contains definitions for all tools in that server. "+
24
+
"Use readToolFile to read a specific server file and see all available tools. "+
25
+
"In code, access tools via: await serverName.toolName({ args }). "+
26
+
"The server names used in code correspond to the human-readable names shown in this listing. "+
27
+
"This tool is generic and works with any set of servers connected at runtime. "+
28
+
"Always check this tool whenever you are unsure about what tools you have available or if you want to verify available servers and their tools. "+
29
+
"If you have even the SLIGHTEST DOUBT that the current tools might not be useful for the task, check listToolFiles to discover all available tools."
30
+
} else {
31
+
description="Returns a tree structure listing all virtual .d.ts declaration files available for connected MCP servers, organized by individual tool. "+
32
+
"Each tool has a corresponding file (e.g., servers/<serverName>/<toolName>.d.ts) that contains definitions for that specific tool. "+
33
+
"Use readToolFile to read a specific tool file and see its parameters and usage. "+
34
+
"In code, access tools via: await serverName.toolName({ args }). "+
35
+
"The server names used in code correspond to the human-readable names shown in this listing. "+
36
+
"This tool is generic and works with any set of servers connected at runtime. "+
37
+
"Always check this tool whenever you are unsure about what tools you have available or if you want to verify available servers and their tools. "+
38
+
"If you have even the SLIGHTEST DOUBT that the current tools might not be useful for the task, check listToolFiles to discover all available tools."
39
+
}
40
+
17
41
return schemas.ChatTool{
18
42
Type: schemas.ChatToolTypeFunction,
19
43
Function: &schemas.ChatToolFunction{
20
44
Name: ToolTypeListToolFiles,
21
-
Description: schemas.Ptr(
22
-
"Returns a tree structure listing all virtual .d.ts declaration files available for connected MCP servers. "+
23
-
"Each connected server has a corresponding virtual file that can be read using readToolFile. "+
24
-
"The filenames follow the pattern <serverDisplayName>.d.ts where serverDisplayName is the human-readable "+
25
-
"name reported by each connected server. Note that the code-level bindings (used in executeToolCode) use "+
26
-
"configuration keys from SERVER_CONFIGS, which may differ from these display names. "+
27
-
"This tool is generic and works with any set of servers connected at runtime. "+
28
-
"Always check this tool whenever you are unsure about what tools you have available or if you want to verify available servers and their tools. "+
29
-
"If you have even the SLIGHTEST DOUBT that the current tools might not be useful for the task, check listToolFiles to discover all available tools.",
0 commit comments