check_activity
Scan iTerm2 sessions to identify active versus idle panes, with foreground processes, recent output, and activity assessments so you can choose sessions to watch or place in a grid.
Instructions
Scan all iTerm2 sessions and report which are active vs idle. Returns each session's foreground process, last few lines of output, and an idle/active assessment. Use this to discover which sessions are worth watching or placing in a layout grid.
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": "check_activity"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| tail_lines | No | Number of trailing output lines to include per session (default: 5) |