csv_search
Find CSV records where a specified field matches a regex pattern. Supports case sensitivity and returns selected fields.
Instructions
Search for records where a field matches a regex pattern.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| file | Yes | Absolute path to the CSV file | |
| field | Yes | Field name to search in | |
| pattern | Yes | Regex pattern to match | |
| maxResults | No | Maximum results to return (default: 100) | |
| returnFields | No | Fields to include in results (default: all) | |
| caseSensitive | No | Case-sensitive matching (default: false) |