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

Function toolConnectionName

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

Source from the content-addressed store, hash-verified

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

Callers 2

buildConnectionGroupsFunction · 0.85
ToolkitWorkspaceFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected