Window Close
window_closeUse this to close a specific application window on the paired computer. Closing may discard unsaved changes or quit an application; confirm the intended window and save work first.
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. |