iphone_workspace
Run shell commands in ~/workspace on a paired iPhone to read, edit, and test in one run, with optional background jobs and receipt tracking.
Instructions
Run shell in ~/workspace on the paired iPhone. Combine read, edit and test in one run. For work that must survive switching apps, use background with a visible title and 1–10 sequential scripts (60s each); requires iSH Workspace on iOS 26 and one foreground Start tap. For a short batch, pass waitMs (up to 40000) to receive the final exitCode/output in the same call; zero returns immediately. If still awaiting, query receipt with the same UUID and environment continued. Each app has separate files. Never replay uncertain work.
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": "iphone_workspace"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| steps | No | ||
| title | No | ||
| action | Yes | ||
| script | No | ||
| waitMs | No | ||
| requestId | No | ||
| environment | No | ||
| queueUntilOpenMs | No | Return immediately and wait up to this many milliseconds for iSH Workspace to open. Only for background; use receipt or cancel_wait with the same requestId. Host restart clears pending waits. |