amiga_power
Controls mains power for a configured Amiga—on, off, or cycle—as a last resort when it is hung, while preserving file changes by preferring restart when the machine still responds.
Instructions
Control mains power, if configured: 'on', 'off' or 'cycle'.
Last resort for a hung Amiga: cutting power loses file changes from the last minutes. Prefer amiga_restart while the Amiga still answers.
machine: saved Amiga name or ID from amiga_machines; defaults to AMIGENT_HOST, the saved default, or the sole registered machine.
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": {
"action": "<action>"
},
"name": "amiga_power"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| action | Yes | ||
| machine | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |