search_by_date
Find files modified within a specific date range. Results sorted by date descending.
Instructions
Find files modified within a date range. Supports before, after, or between. Results sorted by date descending.
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_by_date"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | No | Relative path within the file server root. Empty string for root. | |
| after | No | ISO date string (e.g. '2025-01-01'). Only include files modified after this date. | |
| before | No | ISO date string (e.g. '2025-02-01'). Only include files modified before this date. | |
| maxResults | No | Maximum results to return (default: 20, max: 100). | |
| maxDepth | No | Maximum depth to traverse (default: 10, max: 10). | |
| include | No | Comma-separated glob patterns to include (e.g. '*.log, *.txt'). Only matching files are returned. Supports * and ? wildcards. Empty means all files. | |
| exclude | No | Comma-separated glob patterns to exclude (e.g. 'node_modules, *.tmp'). Matching files and directories are skipped. Supports * and ? wildcards. | |
| includeDirectories | No | Include directories in results (default: false). |