Send an ARexx command
amiga_arexxSend a single command to a running Amiga program's case-sensitive ARexx port and return its RESULT or error code, enabling scripted control and inspection of that program.
Instructions
Send one command to a running program's ARexx port and return its RESULT string, or 'rc N (secondary M)' when the program reports an error. What the command does depends on the program (WORKBENCH takes e.g. 'getattr ...', 'window ...'); some commands save, quit or delete. Port names are case sensitive; amiga_arexx_ports lists them. For a whole ARexx script use amiga_rexx.
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": {
"port": "<port>",
"command": "<command>"
},
"name": "amiga_arexx"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| port | Yes | port name, case sensitive (e.g. WORKBENCH) | |
| command | Yes | the command | |
| timeout | No | seconds to wait for the answer (default 30) |