测试服务器连接
test_connectionVerify FTP or SFTP server connectivity and authentication before file operations; first SFTP connection may persist a TOFU host key.
Instructions
验证服务器连接和认证;首次 SFTP 连接可能持久化 TOFU 主机密钥。
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "test_connection"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| server | No | 可选服务器别名;省略时使用默认服务器。 |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||