sftp_transfer_cancel
Stops an in-flight SFTP transfer and requires polling until cleanup finishes. Cancellation is not guaranteed once publishing starts, so verify the final transfer state.
Instructions
Cancels an in-flight transfer; keep polling until cleanup finishes. Once publishing has started the cancel cannot be guaranteed, so check the final state.
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": {
"transferId": "<transferId>"
},
"name": "sftp_transfer_cancel"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| transferId | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| error | No | ||
| phase | Yes | ||
| state | Yes | ||
| result | No | ||
| endedAt | Yes | ||
| direction | Yes | ||
| startedAt | Yes | ||
| totalBytes | Yes | ||
| transferId | Yes | ||
| targetState | Yes | ||
| tempCleaned | Yes | ||
| connectionId | Yes | ||
| bytesVerified | Yes | ||
| bytesTransferred | Yes |