rex_capture
Capture the screen and scrollback of a terminal block to inspect output; defaults to the focused block in the session's default window if no block is given.
Instructions
Screen and scrollback of a terminal block. Without block, the focused block of the session's default window.
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": "rex_capture"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| block | No | Block label, ID, or ID suffix | |
| format | No | ||
| unwrap | No | ||
| session | No | Session label or ID | |
| max_bytes | No | Default 200000; truncated from the front | |
| tail_lines | No |