(p: ToolProps<typeof EditTool>)
| 347 | } |
| 348 | |
| 349 | function runEdit(p: ToolProps<typeof EditTool>): ToolInline { |
| 350 | return { |
| 351 | icon: "←", |
| 352 | title: `Edit ${toolPath(p.input.filePath)}`, |
| 353 | mode: "block", |
| 354 | body: p.metadata.diff, |
| 355 | } |
| 356 | } |
| 357 | |
| 358 | function runWebSearch(p: ToolProps<typeof WebSearchTool>): ToolInline { |
| 359 | const title = webSearchProviderLabel(p.metadata.provider) |
nothing calls this directly
no test coverage detected