jms_sftp_list
List the contents of an absolute remote directory path on a JumpServer asset via an active SFTP session. Provide the directory path and session handle to retrieve the file listing.
Instructions
List one absolute remote directory 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>"
},
"name": "jms_sftp_list"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | No | / | |
| session_handle | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||