Agent tools

list

list({ path? })

A folder of the workspace, folders first. The cheapest way to find out what is there.

category: readfreenever asks
Using Python?

Switch any code block to Python: the choice applies to every page. Python SDK guide and resource reference.

pathstring

Folder, relative to the workspace. Empty or absent reads the root.

When the agent reaches for it

To orient itself in a folder it has not seen. For finding a file by name across a tree, glob is one call instead of a walk; for finding one by content, grep.

Hidden entries are not shown

Names beginning with a dot are left out — which keeps the kept versions, the recycle bin, the checkpoint store and the session journal out of the agent's way.

It runs in parallel

A read tool, so a turn that lists three folders at once does them together.