sftp_delete
Delete remote files securely via SFTP with access controls, blocked extension enforcement, and required justification for user confirmation.
Instructions
Delete a remote file via SFTP.
Only files within allowed_paths can be deleted. Blocked extensions are enforced. Requires a justification. Risk level: medium (requires user confirmation).
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": {
"host_id": "<host_id>",
"remote_path": "<remote_path>"
},
"name": "sftp_delete"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| host_id | Yes | ||
| remote_path | Yes | ||
| justification | No | ||
| session_id | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||