MCPcopy Create free account
hub / github.com/arctic-cli/interface / render

Function render

packages/ui/src/components/message-part.tsx:205–215  ·  view source on GitHub ↗
(props)

Source from the content-addressed store, hash-verified

203ToolRegistry.register({
204 name: "read",
205 render(props) {
206 return (
207 <BasicTool
208 icon="glasses"
209 trigger={{
210 title: "Read",
211 subtitle: props.input.filePath ? getFilename(props.input.filePath) : "",
212 }}
213 />
214 )
215 },
216})
217
218ToolRegistry.register({

Callers

nothing calls this directly

Calls 4

getFilenameFunction · 0.90
getDirectoryFunction · 0.90
useDiffComponentFunction · 0.90
pushMethod · 0.80

Tested by

no test coverage detected