list_directory
Lists supported document files (.pdf, .docx, .xlsx, .xls, .pptx, .ppt, .csv) in a specified directory so you can discover which files are available to read.
Instructions
List all supported document files (.pdf, .docx, .xlsx, .xls, .pptx, .ppt, .csv) in a directory. Useful for discovering which files are available to read.
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": {
"directoryPath": "<directoryPath>"
},
"name": "list_directory"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| directoryPath | Yes | Absolute path to the directory |