file_format_analyzer
Identify binary file formats via magic bytes, parse common containers (PNG, ZIP, JPEG, PDF), and display chunk hierarchy with offsets, sizes, and metadata.
Instructions
Analyze binary file format structures: identify format via magic bytes, parse containers (RIFF/WebP, PNG, ZIP, JPEG, PDF), and show chunk hierarchy with offsets, sizes, and metadata.
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": "file_format_analyzer"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| file_path | Yes | Path to the file to analyze | |
| max_chunks | No | Maximum number of chunks/sections to parse | |
| hexdump_size | No | Bytes to hexdump from each chunk header (0 to disable) |