列出目录内容,对标 DeepAgents ls 工具。
- 有 Sandbox 时走
sandbox.list_dir/2(返回结构化条目) - 无 Sandbox 时走
CMDC.Sandbox.Local
输出格式
每行一条目,格式:
[dir] subdir/
[file] README.md (1234 bytes)
列出目录内容,对标 DeepAgents ls 工具。
sandbox.list_dir/2(返回结构化条目)CMDC.Sandbox.Local每行一条目,格式:
[dir] subdir/
[file] README.md (1234 bytes)