Skip to content

fw_disasm MCP tool

Disassemble PE entry-point x86-64 instructions using craft-pe + iced-x86 Fat-LTO ABI, or identify any file via craft-sniff.

{
"jsonrpc": "2.0",
"id": 1,
"method": "tools/call",
"params": {
"name": "fw_disasm",
"arguments": {
"path": "<path>"
}
}
}
Name Type Required Description
action string: disasm, identify no Operation mode.
path string yes Binary or file path.
maxInsns integer no Instruction limit.
{
"type": "object",
"properties": {
"action": {
"type": "string",
"enum": [
"disasm",
"identify"
],
"description": "Operation mode."
},
"path": {
"type": "string",
"description": "Binary or file path."
},
"maxInsns": {
"type": "integer",
"minimum": 1,
"maximum": 128,
"description": "Instruction limit."
}
},
"required": [
"path"
]
}

Part of the fw MCP server. See the tool list and the agents guide.