pattern: str = Field(
description="Glob pattern to match files (e.g., '*.py', '**/*.py', '/subdir/**/*.md'). A pattern without '/' matches the file name at any depth; a pattern containing '/' matches the search-root-relative path; a leading '/' anchors to the search root ('/*.py' matches only top-level files). Leading-dot names are excluded unless the pattern segment starts with '.',
so prefer the bare form '*.py' over '**/*.py' -- '**' will not descend into dot-directories like '.github'."
)