ghidra_decompile
Decompile binary functions to readable C code using Ghidra. Specify a binary file path and optional function name to analyze and reverse engineer executable code.
Instructions
Decompile binary functions with Ghidra
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": {
"filePath": "<filePath>"
},
"name": "ghidra_decompile"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| filePath | Yes | Path to binary file | |
| functionName | No | Specific function to decompile |