MCPcopy Create free account
hub / github.com/codeaashu/claude-code / renderToolsList

Function renderToolsList

src/components/agents/AgentDetail.tsx:71–79  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

69 }
70 const handleKeyDown = t4;
71 const renderToolsList = function renderToolsList() {
72 if (resolvedTools.hasWildcard) {
73 return <Text>All tools</Text>;
74 }
75 if (!agent.tools || agent.tools.length === 0) {
76 return <Text>None</Text>;
77 }
78 return <>{resolvedTools.validTools.length > 0 && <Text>{resolvedTools.validTools.join(", ")}</Text>}{resolvedTools.invalidTools.length > 0 && <Text color="warning">{figures.warning} Unrecognized:{" "}{resolvedTools.invalidTools.join(", ")}</Text>}</>;
79 };
80 const T0 = Box;
81 const t5 = "column";
82 const t6 = 1;

Callers 1

AgentDetailFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected