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

Function description

src/tools/WebFetchTool/WebFetchTool.ts:139–147  ·  view source on GitHub ↗
(input)

Source from the content-addressed store, hash-verified

137 maxResultSizeChars: 100_000,
138 shouldDefer: true,
139 async description(input) {
140 const { url } = input as { url: string }
141 try {
142 const hostname = new URL(url).hostname
143 return `NCode wants to fetch content from ${hostname}`
144 } catch {
145 return `NCode wants to fetch content from this URL`
146 }
147 },
148 userFacingName() {
149 return 'Fetch'
150 },

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected