woopcode docs
v1.0.0 GitHub

find_files

Finds files by name or partial filename, skipping dependency and build directories. Returns up to 200 matches. Use specific queries (e.g., 'websocket', 'config') rather than broad patterns (e.g., '.'). Read-only: it never changes the workspace and never asks for approval.

Parameters#

Parameter Type Required Description
query string Yes filename or partial filename
path string No root directory, default process.cwd()

Example#

find_files({ query: "…" })

Approval#

Runs without asking. Reads only; never changes the workspace.

See also#

  • Tools — every tool, and which of them can change your files
  • Approval modes — what gates the tools that change things

Added in woopcode@0.6.0