(p: ToolProps<typeof WebSearchTool>)
| 356 | } |
| 357 | |
| 358 | function runWebSearch(p: ToolProps<typeof WebSearchTool>): ToolInline { |
| 359 | const title = webSearchProviderLabel(p.metadata.provider) |
| 360 | return { |
| 361 | icon: "◈", |
| 362 | title: p.input.query ? `${title} "${p.input.query}"` : title, |
| 363 | } |
| 364 | } |
| 365 | |
| 366 | function runTask(p: ToolProps<typeof TaskTool>): ToolInline { |
| 367 | const kind = Locale.titlecase(p.input.subagent_type || "unknown") |
nothing calls this directly
no test coverage detected