list_files
List files in a directory, optionally filtered by a glob pattern, to quickly identify matching files for inspection or further processing.
Instructions
List files matching a path or pattern.
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": "list_files"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | No | Directory path to list. | . |
| pattern | No | Optional glob pattern to filter results. |