list_sessions
List all iTerm2 windows, tabs, and sessions, returning a tree with session IDs. Highlights the focused window, tab, and session with an asterisk.
Instructions
List all iTerm2 windows, tabs, and sessions.
Returns a tree with session IDs that can be passed to other tools. The
* marker shows the currently focused window, tab, and session.
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": "list_sessions"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |