emu_close
Releases an emulator and its native engine to free memory after large-image work, preventing resource buildup when sessions create emulators in a loop.
Instructions
Release an emulator and its native engine.
Worth calling when you are done with a large image: unicorn holds memory per instance, and a session that creates emulators in a loop will grow until they are closed.
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>"
},
"name": "emu_close"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| key | Yes | ||
| session | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |