Custom Function/Tool - UI of Nested objects in arr...
# support
k
I am unable to directly edit or add parameters to nested objects in an array. Prior to the UI changes, this was possible to do and existing custom tools show these object parameters in code. I could update this via the api but I haven't been able to find any communication as to why this change occurred? Am i missing something here?
v
Hi there! 👋 You're not missing anything - you're right about the change. The ability to edit nested objects in arrays through the UI has been temporarily removed as part of integrating a new provider for our Knowledge Base system. This is a strategic but temporary change while we enhance our overall functionality. According to our documentation, "The KB UI has been temporarily removed to support a new provider. The dashboard interface will be updated to include the new provider by the start of next week." [source](https://discord.com/channels/1211482211119796234/1211483291191083018/threads/1343466819058663498) In the meantime, you can still update nested object parameters using the API. Here's how: 1. Use the PUT method with this endpoint:
Copy code
https://api.vapi.ai/assistants/{assistantId}
2. Structure your request body with the nested parameters, like:
Copy code
bash
curl -X PUT \
https://api.vapi.ai/assistants/{assistantId} \
-H 'Content-Type: application/json' \
-d '{
  "model": {
    "property1": "value1",
    "nestedProperty": {
      "param1": "newValue1",
      "param2": "newValue2"
    }
  }
}'
Make sure to replace the placeholders with your actual values, especially the assistantId and the nested properties you need to update. We apologize for any inconvenience this temporary change has caused! Sources: - [Discord Document](https://discord.com/channels/1211482211119796234/1211483291191083018/threads/1343466819058663498) - [Discord Document 4](https://discord.com/channels/1211482211119796234/1211483291191083018/threads/1333052029987196979)
k
@Vapi Support Bot You are referencing the KB UI and the assistant which I'm aware of. I am referring to the UI of custom tools where we define parameters to include in our request.
v
Thanks for clarifying! I understand now that you're specifically asking about the UI for custom tools where you define parameters, not the Knowledge Base UI I referenced earlier. Could you please share more details about what you're experiencing with the custom tools UI? For example: - What specific changes have you noticed in the custom tools parameter editing interface? - Are you trying to add/edit parameters to a specific type of nested object structure? - Do you have any screenshots of what you're seeing now versus what you remember being able to do before? This will help me provide you with more accurate information about any changes to the custom tools UI functionality.
s
To unblock you, use the visual editor in the tool editor to add properties under the property object type.
2 Views