woopcode docs
v1.0.0 GitHub

list_files

List files in a directory, skipping dependency and build directories. Returns up to 500 files. Use sparingly - only when you need to see directory structure. For finding specific files, use find_files instead. Read-only: it never changes the workspace and never asks for approval.

Parameters#

Parameter Type Required Description
path string No Directory path

Example#

list_files({  })

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