Readfolder
ReadFolderReads a directory and returns a JSON array of entries, optionally recursive, to support structured file listing in MCP clients.
Instructions
Read a directory; return JSON array of entries (optionally recursive).
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "ReadFolder"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | No | . | |
| recursive | No | ||
| max_entries | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |