sftp_mkdir
Creates a directory on a remote host over SFTP, with optional recursive parent creation, so you can set up remote folder structures before file transfers or deployments.
Instructions
Create a directory on the remote host via SFTP.
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": {
"connectionId": "<connectionId>",
"remotePath": "<remotePath>"
},
"name": "sftp_mkdir"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| recursive | No | Create parent directories as needed (default true) | |
| remotePath | Yes | Remote directory path to create | |
| connectionId | Yes | Connection ID from ssh_connect |