MCPcopy
hub / github.com/NitroRCr/AIaW / execute

Function execute

src/utils/web-search-plugin.ts:148–154  ·  view source on GitHub ↗
({ searches }, settings)

Source from the content-addressed store, hash-verified

146 }))
147 }),
148 async execute({ searches }, settings) {
149 const res = await Promise.all(searches.map(s => search(s, settings)))
150 return [{
151 type: 'text',
152 contentText: JSON.stringify(res, null, 2)
153 }]
154 }
155 }, {
156 type: 'tool',
157 name: 'crawl',

Callers

nothing calls this directly

Calls 2

searchFunction · 0.85
crawlFunction · 0.85

Tested by

no test coverage detected