Utilizing the 'functions' functionality within the playground

Hello, I would appreciate some guidance regarding the new ‘functions’ functionality. I’ve experimented with it and managed to make basic API requests by defining the function JSON. I added the following at the bottom of the instructions:

- Action: get_directory
  Confirmation Link: https://<url>/
    Authorization: <authorization>

However, when working with more complex requests, such as a GET with query parameters that should be extracted from the conversation, it’s unclear how to pass this. Is there a way to define the function inside the instructions, for example using JavaScript? I tried that without success.

1 Like