tmux_save_buffer
Save a tmux paste buffer to a file, with options to select a named buffer or append to an existing file. Resolves paths on the target machine for local or SSH sessions.
Instructions
Write a paste buffer to a file (save-buffer).
name selects a named buffer (-b); the default is the most recent one.
append=True appends to the file instead of overwriting (-a). IMPORTANT:
path is resolved on the target — for an SSH target it is a file on
the remote host, not the local machine.
Returns {"saved": path, "name": name}.
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": {
"path": "<path>"
},
"name": "tmux_save_buffer"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | Yes | ||
| name | No | ||
| append | No | ||
| target | No |