focus_session
Bring a specific iTerm2 session to the foreground by activating its window and selecting its tab or pane. Provide the session UUID to focus.
Instructions
Bring a session to the foreground.
:param session_id: The session UUID to activate. Its window is raised and its tab/pane is selected.
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": {
"session_id": "<session_id>"
},
"name": "focus_session"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| session_id | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |