tooluniverse.tools.get_webpage_title module
get_webpage_title
Fetch a webpage and return the content of its <title> tag.
-
tooluniverse.tools.get_webpage_title.get_webpage_title(url, timeout, *, stream_callback=None, use_cache=False, validate=True)[source]
Fetch a webpage and return the content of its <title> tag.
- Parameters:
url (str
) β HTTP or HTTPS URL to fetch (e.g. https://www.example.com)
timeout (int
) β Request timeout in seconds
stream_callback (Callable
, optional) β Callback for streaming output
use_cache (bool
, default False
) β Enable caching
validate (bool
, default True
) β Validate parameters
- Return type:
Any