ros_file_upload
Upload files to a MikroTik RouterOS router over SFTP, including .npk packages, .rsc scripts for /import, or certificates, to transfer required assets directly to the device.
Instructions
Upload a file to the router (SFTP), e.g. an .npk package, a .rsc to /import, or a certificate.
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": {
"local_path": "<local_path>"
},
"name": "ros_file_upload"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| router | No | ||
| local_path | Yes | ||
| remote_name | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |