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

Method render

cli/src/components/tools/types.ts:40–40  ·  view source on GitHub ↗

* Render function that returns configuration for how to display this tool. * * @param toolBlock - The tool block data containing input/output * @param theme - The current chat theme * @param options - Rendering options like width and indentation * @returns Configuration for rendering

(
    toolBlock: ToolBlock & { toolName: T },
    theme: ChatTheme,
    options: ToolRenderOptions,
  )

Source from the content-addressed store, hash-verified

38 * @returns Configuration for rendering the tool, or null to use default rendering
39 */
40 render(
41 toolBlock: ToolBlock & { toolName: T },
42 theme: ChatTheme,
43 options: ToolRenderOptions,

Callers 10

mainFunction · 0.65
renderFunction · 0.65
renderToolComponentFunction · 0.65
render-ui.test.tsxFile · 0.65
single-block.tsxFile · 0.65
runViewerFunction · 0.65
renderDiagramFunction · 0.65

Implementers 2

MermaidErrorBoundaryweb/src/components/agent/agent-depende
ErrorBoundaryweb/src/app/admin/traces/components/er

Calls

no outgoing calls

Tested by

no test coverage detected