From fbb1bdd7596e62e003e80edf2992df7f38edc1ac Mon Sep 17 00:00:00 2001 From: Mara van der Laan <126646+laanwj@users.noreply.github.com> Date: Sat, 9 May 2026 11:32:56 +0200 Subject: [PATCH] bridge: Fix `set_function_prototype` tool with recent axiom versions Update the parameter name because recent axiom versions (v1.13.5+) intentionally filter out `prototype`. This is the only use of the parameter `prototype`. `signature` is already accepted as alternative by the Binary Ninja side. Closes #75. --- bridge/src/tools.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bridge/src/tools.ts b/bridge/src/tools.ts index b6ecb66..ae76780 100644 --- a/bridge/src/tools.ts +++ b/bridge/src/tools.ts @@ -936,7 +936,7 @@ export function registerTools(server: McpServer, client: BinjaHttpClient): void }, async ({ name_or_address, prototype }) => { const ident = name_or_address.trim(); - const params: Record = { prototype }; + const params: Record = { signature: prototype }; if (ident.toLowerCase().startsWith("0x") || /^\d+$/.test(ident)) { params.address = ident; } else {