capture-pane
Extract content from tmux panes, specifying line count and optionally preserving text colors, for integration with AI-driven terminal workflows.
Instructions
Capture content from a tmux pane with configurable lines count and optional color preservation
Input Schema
Name | Required | Description | Default |
---|---|---|---|
colors | No | Include color/escape sequences for text and background attributes in output | |
lines | No | Number of lines to capture | |
paneId | Yes | ID of the tmux pane |
Input Schema (JSON Schema)
{
"$schema": "http://json-schema.org/draft-07/schema#",
"additionalProperties": false,
"properties": {
"colors": {
"description": "Include color/escape sequences for text and background attributes in output",
"type": "boolean"
},
"lines": {
"description": "Number of lines to capture",
"type": "string"
},
"paneId": {
"description": "ID of the tmux pane",
"type": "string"
}
},
"required": [
"paneId"
],
"type": "object"
}