file_write
Write or overwrite file content on a remote server by specifying the target server, absolute file path, and content. Simplifies remote file updates for cloud operations.
Instructions
将内容写入远程服务器上的文件(会覆盖已有文件)
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": {
"server": "<server>",
"path": "<path>",
"content": "<content>"
},
"name": "file_write"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | Yes | 远程文件的绝对路径 | |
| server | Yes | 目标服务器名称 | |
| content | Yes | 要写入的文件内容 |