Window Restore
window_restoreUse this to restore an identified minimized or maximized application window to its normal state. It changes window state but does not restore deleted data.
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": {
"device": "<device>"
},
"name": "window_restore"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | No | Window id returned by list_windows. | |
| app | No | Application/process name substring. | |
| pid | No | Owning process id. | |
| title | No | Window title substring. | |
| device | Yes | ReMCP device id returned by list_devices. Required for every device operation. | |
| backend | No | Input backend preference. auto uses proven local backends and already-authorized portal input; portal explicitly requests XDG RemoteDesktop consent on Wayland; x11 forces XWayland/xdotool only for operations where read-back testing shows it is reliable. GNOME Wayland keyboard/text deliberately reject x11. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| data | No | Window action structured result for window_action. Stable fields are declared explicitly; platform-specific fields may be added. Large results may return truncated/bytes/preview instead of the full payload. | |
| text | Yes | Concise human-readable result of the tool call. |