filesystem
List directory
List direct children using an absolute path or a path relative to the requested location, including parents and siblings outside its directory. Entry paths remain relative to the requested location; listing does not switch locations.
get/api/fs/list
Request
- Base URLhttps://opencode.ai (the document declares no server; this is the origin it was published from)
- URLhttps://opencode.ai/api/fs/list
- Authnone required
Query parameters
pathstring nullable
An absolute path or a path relative to the requested location. Defaults to the location directory.
Response
Success
Changes
No operation changes recorded.