Run an AmigaDOS command
amiga_runRun one AmigaDOS command line and wait for it to finish, returning merged stdout and stderr plus a return code. Use it to execute Shell commands on a real Amiga or FS-UAE.
Instructions
Run one AmigaDOS command line (as typed in a Shell) and wait for it to finish. Returns everything it printed, stdout and stderr merged, then a line '[return code N]': 0 ok, 5 warning, 10 error, 20 failure. The command can do anything a Shell can, including delete files. For a program that opens a window and keeps running, start it with 'Run >NIL: Program' so this returns at once, then use amiga_wait for its window. Stuck commands: amiga_slots and amiga_break. Prefer amiga_ls and amiga_read_file for looking at files.
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_run"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| command | Yes | the command line, e.g. 'List SYS:C' or 'Version exec.library' | |
| max_time | No | stop it (Ctrl-C) after this many seconds; default: wait up to 600 s |