extract_strings_from_file
Extract readable strings from binary files, with configurable minimum length, encoding, and result limits. Useful for analyzing binary data in reverse engineering or security analysis.
Instructions
Extract readable strings from a binary file (similar to the strings command).
Args: file_path: Absolute path to the file. min_length: Minimum string length. Default: 4. encoding: Encoding type: "ascii", "utf16le", or "both" (default). max_results: Maximum results to return. Default: 300.
Returns: List of extracted strings with offset and encoding info.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"file_path": "<file_path>"
},
"name": "extract_strings_from_file"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| file_path | Yes | ||
| min_length | No | ||
| encoding | No | both | |
| max_results | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |