Skip to content

GlobOutput

Base classes

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

⋔ Inheritance diagram

graph TD
  3717015547["output_types.GlobOutput"]
  2645524081["builtins.dict"]
  2751680898["builtins.object"]
  2645524081 --> 3717015547
  2751680898 --> 2645524081

🛈 DocStrings

Bases: TypedDict

tool_use_result for the Glob tool.

Source code in src/clawd_code_sdk/models/output_types.py
class GlobOutput(TypedDict):
    """``tool_use_result`` for the Glob tool."""

    durationMs: int
    numFiles: int
    filenames: list[str]
    truncated: bool
    """Whether results were truncated (limited to 100 files)."""
    totalMatches: NotRequired[int]
    """Total matches before truncation (a lower bound when countIsComplete is false)."""
    countIsComplete: NotRequired[bool]
    """Whether totalMatches is exact."""
    timedOut: NotRequired[bool]
    """Whether the search timed out (results may be partial)."""

countIsComplete instance-attribute

countIsComplete: NotRequired[bool]

Whether totalMatches is exact.

timedOut instance-attribute

timedOut: NotRequired[bool]

Whether the search timed out (results may be partial).

totalMatches instance-attribute

totalMatches: NotRequired[int]

Total matches before truncation (a lower bound when countIsComplete is false).

truncated instance-attribute

truncated: bool

Whether results were truncated (limited to 100 files).

:fa-brands-github: Show source on GitHub