grep_file
Search one file in a forensic image or local extracted file for terms or regex patterns, returning matching offsets with surrounding context.
Instructions
Search one file (in-image ref, or local_path to an extracted file such as pagefile.sys) for terms; returns offsets and context.
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": "grep_file"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ref | No | ||
| part | No | ||
| image | No | ||
| regex | No | ||
| terms | No | ||
| context | No | ||
| max_hits | No | ||
| encodings | No | ||
| local_path | No | ||
| ignore_case | No |