kitty_get_tab_text
Fetch text content from every window in a tab, including per-window details like ID, title, and dimensions. Useful for monitoring split panes or multiple processes.
Instructions
Get text content from ALL windows in a specific tab in a single call. Combines kitty_ls + multiple kitty_get_text calls. Returns text from every window in the tab with per-window headers showing ID, title, CWD, PID, and dimensions. Useful for understanding what is happening across split panes or monitoring multiple processes.
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": "kitty_get_tab_text"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ansi | No | Include ANSI formatting/color codes. | |
| match | No | Tab match expression (e.g. "index:0", "title:work", "id:3"). If omitted, the active tab is used. | |
| extent | No | What text to retrieve from each window. Default: "screen". | |
| max_lines_per_window | No | Maximum lines per window. Oldest lines are truncated when exceeded. Default: 10000. |