Metis — List Folder
list_folderList files in any folder by absolute path, optionally filtering with a glob pattern to locate specific file types like *.R or *.md.
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 |
|---|---|---|---|
| pattern | No | * | |
| folder_path | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |