[Crash Course] Custom Tools - Connect Chat & Voice AI To Anything
➀ I have been personally going through custom tools lately that are not able to be mapped or having trouble will calling the tool so I created this 20 min crash course that goes over everything exactly and I build, test and use an update_contact custom tool to show you how to map it
➀ Some things I have noticed:
  • Custom tool names and parameter names should be in JSON format: All names should be completely lowercase with underscores instead of spaces, with no special characters. Simple raw text with underscores. (I.e. update_contact, send_sms, first_name, opt_out, etc) This makes mapping consistent and reliable since args is completely AI generated and LLMs are familiar with JSON formatting.
  • Descriptions are so very important. AIs are smart - but that are not super intuitive. So, your description is key. It should leave absolutely nothing to interpretation. Be clear and concise on what the tool does and under what condition to call the tool - this create a consistent and reliable rule for functionality that the AI can understand. This goes for both the tool description it self and the information.
____________
➀ Leave no room for AI interpretation on what the tool does, what you want it to do & when you want it do
Examples of great descriptions:
For a tool itself - Get the delivery date for a customer's order. Call this whenever you need to know the delivery date, for example when a customer asks 'Where is my package'
For a parameter - The annualized revenue of the user in raw number format.
For parameters, we leave no room for interpretation on what information we need, and in what format to send that information.
β›” opt_out: contact opt out
The reason this is not great is, opt out of what? what format - true/false, yes/no? etc. There is a lot of room for interpretation and inconsistent results may generate (args is generated by AI)
βœ… opt_out: yes | no if the user opts out of SMS communication.
This asks for the format, and what information exactly I am looking for
--
Here is a guide / examples of tool calling in OpenAI: https://platform.openai.com/docs/guides/function-calling
29
25 comments
Jorden Williams
7
[Crash Course] Custom Tools - Connect Chat & Voice AI To Anything
Assistable.ai
skool.com/assistable
We give you the most dominantly unfair advantage in the agency space. Period. 31,652 GoHighLevel installs don't lie.
Leaderboard (30-day)
powered by