Expand description
Web tools: web_fetch and the configured-backend web_search.
web_fetch refuses loopback, private, link-local, and other non-public
addresses unless the user allows them. Host names are resolved once by a
checking resolver whose addresses are the only ones the client connects
to, so a name cannot be rebound to a local address between the check and
the connection. IP-literal URLs, including redirect targets, are checked
before any request.
Structs§
- WebTools
Config - Web tool settings resolved from the user’s configuration.
Enums§
- Search
Backend - A search service that SCV queries itself. Provider-hosted search is configured on the provider instead and needs no SCV tool.
Functions§
- register
- Registers
web_fetch, andweb_searchwhen a search backend is configured.