Skip to main content

Window & Clipboard Tools

Tools for managing windows and clipboard content on the host machine.

window_list

List all visible windows.

Classification: Host

Return shape:

{
"status": "success",
"stdout": "JSON array of window objects",
"exit_code": 0,
"duration_ms": 50
}

Each window object includes: title, process name, dimensions, and position.

window_focus

Bring a specific window to the foreground.

ParameterTypeDescription
titlestringWindow title (partial match supported)

Classification: Host

resize_window

Resize and/or move the active window.

ParameterTypeDescription
widthintNew width in pixels
heightintNew height in pixels
xintNew X position (optional)
yintNew Y position (optional)

Classification: Host

clipboard_read

Read the current clipboard contents.

Classification: Host

Return shape:

{
"status": "success",
"stdout": "clipboard text content",
"exit_code": 0,
"duration_ms": 10
}

clipboard_write

Write text to the clipboard.

ParameterTypeDescription
textstringText to write to clipboard

Classification: Host


Related: Core Tools · Platform Adapters