Skip to content

WebSearchHit

Base classes

Name Children Inherits
dict
builtins
dict() -> new empty dictionary

⋔ Inheritance diagram

graph TD
  3457282118["output_types.WebSearchHit"]
  2645524081["builtins.dict"]
  2751680898["builtins.object"]
  2645524081 --> 3457282118
  2751680898 --> 2645524081

🛈 DocStrings

Bases: TypedDict

A single search result hit.

Source code in src/clawd_code_sdk/models/output_types.py
class WebSearchHit(TypedDict):
    """A single search result hit."""

    title: str
    url: str
    snippet: NotRequired[str]
    """Snippet of the search hit."""

snippet instance-attribute

snippet: NotRequired[str]

Snippet of the search hit.

:fa-brands-github: Show source on GitHub