switch_to_window_by_title
Switches focus to an open window by matching its title. Uses case-insensitive substring matching by default; set exact=true for a full title match.
Instructions
Switch focus to a window by its title. By default uses case-insensitive substring matching so partial titles work (e.g. "Notepad" matches "Untitled - Notepad"). Set exact=true to require a full case-insensitive match.
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": {
"title": "<title>"
},
"name": "switch_to_window_by_title"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| exact | No | If true, require an exact case-insensitive title match. Default: false (substring match) | |
| title | Yes | Window title (or partial title) to match |