It is unclear from the docs if I can pass only a default parameter "input" or if I can pass additionally variables if I know the plugin accepts those. prompt-template-syntax#function-parameters. For example I have a plugin that accepts a mandatory input and can accept additional metadata treated differently. Am I able to call the plugin like this:
The weather today in {{$city}} is {{weather.getForecast $city $temperatureUnit}}.
where temperatureUnit can be Fahrenheit or Celsius.
It would be good to clarify that behavior and if it is possible to add another example.
EDIT: According to multiple-parameters it seems to be supported in code but it isn't clear for the template syntax.
It is unclear from the docs if I can pass only a default parameter "input" or if I can pass additionally variables if I know the plugin accepts those. prompt-template-syntax#function-parameters. For example I have a plugin that accepts a mandatory input and can accept additional metadata treated differently. Am I able to call the plugin like this:
where temperatureUnit can be Fahrenheit or Celsius.
It would be good to clarify that behavior and if it is possible to add another example.
EDIT: According to multiple-parameters it seems to be supported in code but it isn't clear for the template syntax.