emu_call
Call an x64 function inside the emulator using the Microsoft calling convention; redirect imported function IAT slots first so calls return values instead of faulting.
Instructions
Call a function in the emulator (x64 Microsoft calling convention).
Imported functions fault unless their IAT slots were redirected: call
emu_stubs first (or emu_create(stubs=True)) so call kernel32!X
returns a value instead of stopping on an unmapped fetch.
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": {
"key": "<key>",
"va": "<va>"
},
"name": "emu_call"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| va | Yes | ||
| key | Yes | ||
| args | No | ||
| session | No | ||
| max_steps | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |