Manage Container Mount
manage_container_mountAdd or remove a container volume mount on a MikroTik router, with idempotent name-based checks and dry-run previews to prevent path conflicts.
Instructions
Add or remove a container volume mount. Idempotent by name: add returns already_exists if the mount exists with matching src/dst; throws CONFLICT if name exists with different paths.
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": {
"action": "<action>",
"name": "<name>"
},
"name": "manage_container_mount"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| dst | No | Container destination path (required for add) | |
| src | No | Host source path (required for add) | |
| name | Yes | Mount name — idempotency key | |
| action | Yes | Action to perform | |
| dryRun | No | Preview changes without applying. | |
| routerId | No | Router ID; omit to use the default router. | |
| confirmationToken | No | Token from a prior APPROVAL_REQUIRED response. Re-submit the identical call with this token to confirm the destructive action. |