list_folder
List files in a folder and filter by glob pattern to find specific documents.
Instructions
List files in a folder.
Args:
folder_path: Absolute path to the folder.
pattern: Glob pattern to filter files (e.g. "*.R", "*.md"). Default: all files.
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": {
"folder_path": "<folder_path>"
},
"name": "list_folder"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| folder_path | Yes | ||
| pattern | No | * |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |