Class: Ask::Tools::WebFetch
- Inherits:
-
Ask::Tool
- Object
- Ask::Tool
- Ask::Tools::WebFetch
- Defined in:
- lib/ask/web_fetch/tool.rb
Overview
The native agent tool for web fetch — the Ask::Tool framing of the
library. Consumed WITHOUT MCP by agent frameworks (ask-agent's
tool: :web_fetch, ask-app-server, llm-proxy) that resolve tools
from the Ask::Tools registry. It is a pure adapter: the capability
(chain, collapse, format) lives in Ask::WebFetch, and this file is
loaded only when ask-tools is present (see lib/ask/web_fetch.rb), so
the library itself never depends on it.
Class Method Summary collapse
-
.backends ⇒ Object
Chain configuration delegates to the library — swap or extend backends here or via Ask::WebFetch.backends.
- .backends=(chain) ⇒ Object