Snap this agent's own window to a corner
self_window_snapSnap the agent's own window to a monitor corner, resize and pin it, and verify the result without stealing focus.
Instructions
Float + pin + resize + position OUR OWN host window (found via PID lock) to a corner of a monitor, then verify the result. corner: tl=tr/bl=br or center. No focus stealing; targets by address.
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": {
"corner": "<corner>"
},
"name": "self_window_snap"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| pin | No | Keep the agent window visible across workspaces | |
| width | No | ||
| corner | Yes | tl=top-left tr=top-right bl=bottom-left br=bottom-right | |
| height | No | ||
| margin | No |