amiga_exec
Runs a short AmigaDOS command on a selected Amiga and returns its exit code and output; use job execution for long tasks and start for graphical programs.
Instructions
Run a short AmigaDOS command and return rc and output.
Blocks the Amiga daemon for everyone until it returns. Use amiga_job for anything that may take long, and amiga_start for graphical programs.
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": {
"command": "<command>"
},
"name": "amiga_exec"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| cd | No | ||
| command | Yes | ||
| machine | No | ||
| timeout | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |