(input)
| 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 | }, |
nothing calls this directly
no outgoing calls
no test coverage detected