sftp_stat
Retrieve remote file or directory metadata—including size, permissions, and timestamps—using an SSH session ID and path.
Instructions
Get file or directory information (size, permissions, timestamps).
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": {
"sessionId": "<sessionId>",
"path": "<path>"
},
"name": "sftp_stat"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | Yes | Remote path | |
| sessionId | Yes | SSH session ID |