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