Skip to content

GlobInput

Base classes

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

⋔ Inheritance diagram

graph TD
  791390876["input_types.GlobInput"]
  2645524081["builtins.dict"]
  2751680898["builtins.object"]
  2645524081 --> 791390876
  2751680898 --> 2645524081

🛈 DocStrings

Bases: TypedDict

Input for the Glob tool. Fast file pattern matching.

Source code in src/clawd_code_sdk/models/input_types.py
@_extra_allow
class GlobInput(TypedDict):
    """Input for the Glob tool. Fast file pattern matching."""

    pattern: str
    """The glob pattern to match files against."""
    path: NotRequired[str]
    """The directory to search in (defaults to cwd)."""

path instance-attribute

path: NotRequired[str]

The directory to search in (defaults to cwd).

pattern instance-attribute

pattern: str

The glob pattern to match files against.

:fa-brands-github: Show source on GitHub