ssh_file_exists
Check whether a file or directory exists on a remote server via SSH, returning status, type, size, and permissions.
Instructions
Check if a file or directory exists on a remote server.
Returns existence status, type (file/directory), size, and permissions.
EXAMPLES:
ssh_file_exists("proxmox", "/etc/pve/qemu-server/100.conf")
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_name": "<server_name>",
"remote_path": "<remote_path>"
},
"name": "ssh_file_exists"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| remote_path | Yes | Remote path to check | |
| server_name | Yes | Server name |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||