amiga_state
Save and compare Amiga system state before and after running a program to detect leaks: unreleased memory, open libraries, lingering tasks, or ports.
Instructions
Find leaks: save the Amiga's state, run and quit a program, then compare.
save keeps free memory and the largest blocks, the open count of every library and device (with amigentd 1.4.0), the tasks and the public ports; compare says what changed since: memory not given back, a library left open, a task or port that stayed.
machine: saved Amiga name or ID from amiga_machines; defaults to AMIGENT_HOST, the saved default, or the sole registered machine.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "amiga_state"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | No | before | |
| action | No | save | |
| machine | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |