MCPcopy Create free account
hub / github.com/codeaashu/claude-code / extractSearchText

Function extractSearchText

src/tools/WebSearchTool/WebSearchTool.ts:229–234  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

227 renderToolUseProgressMessage,
228 renderToolResultMessage,
229 extractSearchText() {
230 // renderToolResultMessage shows only "Did N searches in Xs" chrome —
231 // the results[] content never appears on screen. Heuristic would index
232 // string entries in results[] (phantom match). Nothing to search.
233 return ''
234 },
235 async validateInput(input) {
236 const { query, allowed_domains, blocked_domains } = input
237 if (!query.length) {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected