MCPcopy Index your code
hub / github.com/CodebuffAI/codebuff / render

Function render

cli/src/components/tools/write-file.tsx:11–15  ·  view source on GitHub ↗
(toolBlock, theme, options)

Source from the content-addressed store, hash-verified

9 toolName: 'write_file',
10
11 render(toolBlock, theme, options): ToolRenderConfig {
12 // Call the str_replace renderer with the same block shape
13 // since both tools share identical UI and output structure.
14 return StrReplaceComponent.render(toolBlock as any, theme, options)
15 },
16})

Callers

nothing calls this directly

Calls 1

renderMethod · 0.65

Tested by

no test coverage detected