capture
Retrieve the current terminal screen text from a tmux session to view and analyze CLI application output without interrupting its execution.
Instructions
Captures current terminal screen text.
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": "<session>"
},
"name": "capture"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| session | Yes | ||
| scroll_back | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |