MCPcopy Index your code
hub / github.com/codeaashu/claude-code / renderToolUseTag

Function renderToolUseTag

src/tools/FileReadTool/UI.tsx:66–76  ·  view source on GitHub ↗
({
  file_path
}: Partial<Input>)

Source from the content-addressed store, hash-verified

64 return <FilePathLink filePath={file_path}>{displayPath}</FilePathLink>;
65}
66export function renderToolUseTag({
67 file_path
68}: Partial<Input>): React.ReactNode {
69 const agentTaskId = file_path ? getAgentOutputTaskId(file_path) : null;
70
71 // Show agent task ID for Read tool when reading agent output
72 if (!agentTaskId) {
73 return null;
74 }
75 return <Text dimColor> {agentTaskId}</Text>;
76}
77export function renderToolResultMessage(output: Output): React.ReactNode {
78 // TODO: Render recursively
79 switch (output.type) {

Callers

nothing calls this directly

Calls 1

getAgentOutputTaskIdFunction · 0.85

Tested by

no test coverage detected