extract_strings
Extract printable ASCII and UTF-16LE strings from binary files with offset and section details. Returns structured data with totals and truncation status.
Instructions
Extract printable ASCII and UTF-16LE strings from path.
Returns {"ascii": [...], "utf16le": [...], "totals": {...}, "truncated": bool}.
Each string has string, offset, and section fields.
.. note::
This is the v2.4 shape, kept stable for backward compatibility.
New code should call categorize_strings (below), which
returns the same ascii / utf16le arrays plus a
keyword-bucketed by_category block.
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": {
"path": "<path>"
},
"name": "extract_strings"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | Yes | ||
| min_length | No |