remote_write
Write a complete file to a remote machine over a persistent SSH connection. Read the file first before overwriting large ones to confirm its current contents.
Instructions
整文件写入远端。改大文件前建议先 remote_read 确认内容。
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>",
"content": "<content>"
},
"name": "remote_write"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | Yes | 目标路径 | |
| content | Yes | 完整文件内容 |