(_input)
| 207 | return input.query |
| 208 | }, |
| 209 | async checkPermissions(_input): Promise<PermissionResult> { |
| 210 | return { |
| 211 | behavior: 'passthrough', |
| 212 | message: 'WebSearchTool requires permission.', |
| 213 | suggestions: [ |
| 214 | { |
| 215 | type: 'addRules', |
| 216 | rules: [{ toolName: WEB_SEARCH_TOOL_NAME }], |
| 217 | behavior: 'allow', |
| 218 | destination: 'localSettings', |
| 219 | }, |
| 220 | ], |
| 221 | } |
| 222 | }, |
| 223 | async prompt() { |
| 224 | return getWebSearchPrompt() |
| 225 | }, |
nothing calls this directly
no outgoing calls
no test coverage detected