get_paste_target
Detect whether the focused window is XWayland or Wayland-native, enabling agents to select the appropriate keystroke strategy for pasting.
Instructions
Detect whether the currently focused window is XWayland or Wayland-native (or unknown). This is what xdotool sees — agents use it to verify their assumptions before picking a strategy, because XWayland targets accept different keystrokes than Wayland-native ones.
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": "get_paste_target"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||