Tmux Write File
tmux_write_fileWrites a file through a tmux pane using a heredoc, enabling file creation in remote SSH or container environments without direct filesystem access.
Instructions
Write file using heredoc.
Mainly for remote environments (SSH, containers) without direct filesystem access.
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": {
"file_path": "<file_path>",
"content": "<content>",
"target_pane": "<target_pane>"
},
"name": "tmux_write_file"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| content | Yes | File content | |
| file_path | Yes | Path to the file | |
| target_pane | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |