All specs 1 total
make_fetch_url_toolREAL LLM gemma4:latest · · unknownsrc/deepflow_runtime/tools.py
Generates and returns a callable tool designed to retrieve content from a specified web address. This tool accepts a single string argument representing the URL to fetch. It outputs the retrieved content, attempting to convert HTML content into markdown format while returning raw text for other types. The function utilizes settings provided during its creation, notably the user agent and request timeout, and performs an actual HTTP GET request as a side effect.