radare2
Run read-only binary analysis commands via r2pipe to inspect imports, exports, functions, disassembly, cross-references, and byte patterns without executing the target.
Instructions
Run static radare2 commands via r2pipe (requires the r2 binary).
Opens the target read-only in static mode; the debug command family is
refused. analyze=True runs `aaa` first. Useful commands: iI (info),
ii (imports), iE (exports), afl (functions), 'pdf @ main' (disasm a
function), 'axt @ sym.name' (xrefs), '/ <bytes>' (search).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>",
"commands": "<commands>"
},
"name": "radare2"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | Yes | ||
| analyze | No | ||
| commands | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |