https://retellai.com/?utm_source=discord&utm_medium=seo logo
<@1145576664366055464> how do I update a tool insi...
# ❓・ai-evy-support
v
@AI Evy how do I update a tool inside your platform? I rewrote the json, clicked update, and clicked save on the top left button in the flow chart page. Now I started a new chat but it still uses my old setup
a
Thanks for tagging me @vilewired. I'll look through relevant sources and get back to you shortly.
### Answer For updating custom functions in Retell AI, the process varies depending on whether you're using single/multi-prompt agents or conversation flow agents [(1) ]() [(2) ]() . For single/multi-prompt agents, when you update a custom function, you need to ensure the JSON schema is properly formatted [(1) ]() . A common issue is not adding
"type": "object",
to the top level of the JSON schema . After making changes to your custom function parameters, make sure to click save . For conversation flow agents, custom functions are configured within the function nodes [(2) ]() . The function parameters should be defined using JSON schema format . If your updated tool configuration isn't taking effect in new chats, this could be due to: 1. JSON Schema validation issues - Ensure your JSON schema is properly formatted with
"type": "object",
at the top level [(1) ]() [(2) ]() 2. Caching - Sometimes changes may take a moment to propagate to new conversations 3. Agent deployment - Make sure the agent with the updated function is properly saved and deployed For troubleshooting custom function issues, verify that your parameters follow the correct JSON schema format as referenced in OpenAI's Function Calling Guide . If you continue experiencing issues with your up
dated tool not reflecting in new chats, I'd recommend checking these potentially useful sources: - [Integrate any system with custom function]() - [Custom Function]() Would you like me to provide a general answer about tool updating best practices if the specific issue persists?
​ To learn more, see the sources I considered: [[1] Integrate any system with custom function](https://docs.retellai.com/build/single-multi-prompt/custom-function) [[2] Custom Function](https://docs.retellai.com/build/conversation-flow/custom-function) ​
Feel free to tag @AI Evy with additional questions. I also appreciate feedback, it helps me improve.