MCPcopy Create free account
hub / github.com/Noumena-Network/code / extractSearchText

Function extractSearchText

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

Source from the content-addressed store, hash-verified

285 renderToolUseProgressMessage,
286 renderToolResultMessage,
287 extractSearchText() {
288 // renderToolResultMessage shows only "Did N searches in Xs" chrome —
289 // the results[] content never appears on screen. Heuristic would index
290 // string entries in results[] (phantom match). Nothing to search.
291 return ''
292 },
293 async validateInput(input) {
294 const { query, allowed_domains, blocked_domains } = input
295 if (!query.length) {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected