How to avoid f.ex. ferries without setting in a model

Hello, I want to avoid ferries but not generally in a model.
Is there any possibillity to make this for examply by path params?

You can send a custom model in a request and avoid the ferry via:

{
  "priority": [
    { "if": "road_environment == FERRY", "multiply_by": "0.05" }
  ]
}

Or, you can create multiple profiles at the server-side and then call the profile which avoids the ferry like car_avoid_ferry.