mongo-saveExternalPort
Sets or clears the external port for a MongoDB service in Dokploy by MongoDB ID, so you can control how the database is exposed.
Instructions
POST /mongo.saveExternalPort
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": {
"mongoId": "<mongoId>",
"externalPort": "<externalPort>"
},
"name": "mongo-saveExternalPort"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| mongoId | Yes | ||
| externalPort | Yes |