parse_with_format
Parse binary files using a precompiled Kaitai Struct module or compile a .ksy file on the fly for custom format analysis.
Instructions
Parse a binary using either a precompiled module or a fresh .ksy.
Args: path: file to parse format_module: precompiled module (e.g. "kaitaistruct.gif") ksy_path: path to a .ksy file (will be compiled on the fly)
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": "parse_with_format"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | Yes | ||
| format_module | No | ||
| ksy_path | No |