jms_sftp_stat
Returns metadata for a single remote file or directory by its absolute path within a JumpServer SFTP session. Use when you need to check file existence, size, or modification time before performing transfers or deletions.
Instructions
Return metadata for one absolute remote path.
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": {
"session_handle": "<session_handle>",
"path": "<path>"
},
"name": "jms_sftp_stat"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | Yes | ||
| session_handle | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||