Creating a new tool
Open your agent and open up the tool menu. E.g., “Tools & Abilities”, “Custom Tools”

Create a tool

Configure tool:
Confirm the Tool Description and Arguments match.
Title / Tool Name: address_autocomplete_area
Example Tool Description:
After user provides an address, use this tool to confirm the address can be found online.
#Approved areas: XXXXXXXXXXXXXX
-Ignore all addresses not in the approved areas. Do not include ignored addresses in confirmations.
#Confirmations:
-If 0 addresses are returned, let the user know. Ask to try again -If 1 address is returned, without changes, confirm address -If 1 address is returned, but with changes, confirm the if the address is correct. -If >1 address is returned, ask for detail to help you confirm an address.
Optional: You can instead use Address Autocomplete by Region.
Confirm Request URL set to POST: https://api.app-x.co/google/addressValidation
Save the tool
Make sure the tool is active or added to the agent.

Save or Publish the agent
N/a