Skip to content

Path parameters

Path parameters replace {placeholders} in your tool URL with values the model collects from the conversation — for example {order_id} in /orders/{order_id}.

  1. Include {param_name} in the URL.
  2. Add a matching parameter in the tool schema with location: path.
  3. Set type, description, and whether it is required.
FieldGuidance
NameMust match the URL placeholder exactly (order_id{order_id})
Typestring, number, or integer
DescriptionTell the model what to ask for — e.g. “Customer order number, digits only”
RequiredUsually true for path params

URL: https://api.yourstore.com/orders/{order_id}

ParamTypeRequiredDescription
order_idstringyesOrder number the visitor provides

When a visitor asks “Where is order 12345?”, the model calls the tool with order_id: "12345". Chatevo requests:

GET https://api.yourstore.com/orders/12345
https://api.example.com/hotels/{hotel_id}/rooms/{room_id}

Define both hotel_id and room_id as path parameters. Order in the URL must match your API’s route design.

Use path whenUse query when
Identifying a specific resourceFiltering, search, pagination
RESTful resource IDsOptional flags or date ranges

See Query parameters.

With strict params enabled, calls with missing or wrong-type path params are rejected before the HTTP request is sent.