phone_home_layout
Read, back up, preview, apply, or restore iPhone home-screen pages, Dock, folders, and widget stacks from a plist without swiping or screenshots.
Instructions
Read all home-screen pages, Dock, folders and widget stacks from the paired iPhone without swiping or screenshots. Needs a physical target over usbmuxd, not drivable=true or a runner: no reconnect. Page indexes are persisted icon state (hidden pages included); null row/col or positions_complete=false means unknown, never drag coordinates. action: backup (plist on the Mac), preview (diff plist vs phone), apply/restore (replace the layout; confirm=true only after the person saw the preview).
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "phone_home_layout"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| file | No | Absolute path of a layout .plist on the Mac (from a backup). | |
| page | No | One zero-based home page to read; omit to read every page and folder. | |
| action | No | Omit to read. `backup` saves the current layout on the Mac; `preview` shows what writing `file` would change, by app identifier; `apply` writes `file`; `restore` writes the newest automatic backup (or `file`). | |
| confirm | No | apply/restore only: true writes. Without it the preview comes back and nothing changes; show it to the person and ask first. | |
| instance | No | daemon instance name |