MCPcopy Create free account
hub / github.com/UsefulSoftwareCo/executor / toolConnectionName

Function toolConnectionName

packages/plugins/toolkits/src/page.tsx:208–211  ·  view source on GitHub ↗
(tool: ToolRow)

Source from the content-addressed store, hash-verified

206const toolOwner = (tool: ToolRow): Owner => (tool.static ? "org" : (tool.owner ?? "org"));
207
208const toolConnectionName = (tool: ToolRow): string => {
209 if (tool.connection && tool.connection.length > 0) return tool.connection;
210 return tool.static ? "built-in" : "default";
211};
212
213const policyPrefixForTool = (tool: ToolRow): string => {
214 const matchId = toolMatchId(tool);

Callers 2

buildConnectionGroupsFunction · 0.85
ToolkitWorkspaceFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected