Function
runRead
(p: ToolProps<typeof ReadTool>)
Source from the content-addressed store, hash-verified
| 320 | } |
| 321 | |
| 322 | function runRead(p: ToolProps<typeof ReadTool>): ToolInline { |
| 323 | const file = toolPath(p.input.filePath) |
| 324 | const description = info(p.frame.input, ["filePath"]) || undefined |
| 325 | return { |
| 326 | icon: "→", |
| 327 | title: `Read ${file}`, |
| 328 | ...(description && { description }), |
| 329 | } |
| 330 | } |
| 331 | |
| 332 | function runWrite(p: ToolProps<typeof WriteTool>): ToolInline { |
| 333 | return { |
Callers
nothing calls this directly
Tested by
no test coverage detected