Skip to main content

Documentation Index

Fetch the complete documentation index at: https://docs.praison.ai/llms.txt

Use this file to discover all available pages before exploring further.

list_files

AsyncMethod
This is a method of the SandboxProtocol class in the protocols module.
List files in a sandbox directory.

Signature

async def list_files(path: str) -> List[str]

Parameters

path
str
default:"'/'"
Directory path within sandbox

Returns

Returns
List[str]
List of file paths

Source

View on GitHub

praisonaiagents/sandbox/protocols.py at line 326