Method ListDirectory
- Namespace
- Oscova.Agents.Toolsets
- Assembly
- Oscova.Agents.dll
ListDirectory(string, int, int, int)
Lists directory entries with depth control and pagination.
public string ListDirectory(string path, int offset = 1, int limit = 25, int depth = 2)Parameters
pathstring-
The relative, agent-facing, or host directory path the active workspace allows reading.
offsetint-
The one-based entry index where the page starts.
limitint-
The maximum number of entries to return.
depthint-
The maximum child-directory depth to traverse.
Returns
- string
-
A formatted directory listing with range metadata.