list_documents
Inspect a directory to find files DocLens can read, with size and support status, so you can identify documents to process before batch operations.
Instructions
列出目录里 DocLens 能读的文件,附带大小和是否受支持。用于在批量处理前先摸清有哪些文档。
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"directory": "<directory>"
},
"name": "list_documents"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| directory | Yes | 要列出的目录路径 | |
| recursive | No | 是否递归子目录 |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |