search_files
Search for files in a directory using a glob pattern. Provide the directory and pattern to get a list of matching files.
Instructions
Search for files matching a pattern.
Args: directory: Directory to search (relative to data directory) pattern: Glob pattern (e.g., ".txt", "data_")
Returns: List of matching files
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": "search_files"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| pattern | No | * | |
| directory | No | . |