tmux_pipe_pane
Pipe a tmux pane's output to a shell command for logging or processing. Toggle piping of new output only with only_new, or stop piping by omitting the command.
Instructions
Pipe a pane's output to a shell command (great for logging).
With command, tmux feeds everything the pane prints to that command's
stdin, e.g. command="cat >> /tmp/pane.log". only_new=True (-o) toggles:
if a pipe is already open it is closed, otherwise opened. Call with no
command to stop piping. Returns {"piping": bool}.
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": {
"target_pane": "<target_pane>"
},
"name": "tmux_pipe_pane"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| target_pane | Yes | ||
| command | No | ||
| only_new | No | ||
| target | No |