mac_ssh_run
Run any command on a remote Mac over SSH to perform Mac-side operations like simctl or log inspection when no dedicated wrapper exists.
Instructions
Run an arbitrary command on the remote Mac via SSH.
The building block for any Mac-side operation that paclient.exe doesn't cover (xcrun simctl, devicectl, log inspection, log streaming, etc.). Most callers should prefer the sim_* tools that wrap simctl directly; use this when you need something specific that doesn't have a wrapper.
Args: host: Mac hostname or IP. user: Mac user account. command: Single command line. Quote internal spaces yourself. key_path: Optional explicit SSH private key path. timeout: Seconds before killed.
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": {
"host": "<host>",
"user": "<user>",
"command": "<command>"
},
"name": "mac_ssh_run"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| host | Yes | ||
| user | Yes | ||
| command | Yes | ||
| timeout | No | ||
| key_path | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |