jms_sftp_delete
Use this tool to delete a file or directory from a JumpServer asset via SFTP. Directories require enabling the recursive flag to remove their contents.
Instructions
Delete an approved path; directories additionally require recursive=true.
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_delete"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | Yes | ||
| confirm | No | ||
| recursive | No | ||
| session_handle | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||