search_by_file_path
Search session history for file paths or patterns to find past work on specific files or directories.
Instructions
Find sessions that referenced a specific file or path pattern.
Searches through session history for mentions of file paths, useful for finding past work on specific files or directories.
Args: file_pattern: File path or pattern to search for (e.g., "main.py", "src/") max_results: Maximum number of results to return (default: 20)
Returns: List of sessions and entries that referenced the file pattern
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| max_results | No | ||
| file_pattern | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |