https://retellai.com/?utm_source=discord&utm_medium=seo logo
where can i change the tools webhook link
# ❓・ai-evy-support
m
@AI Evy where can i change the tools webhook link?
a
Thanks for tagging me @moody. I'll look through relevant sources and get back to you shortly.
### Answer The webhook URL for tools can be configured in different places depending on what you're setting up: For Custom Function Tools: You can set the webhook URL when creating or updating custom tools in your agent's
general_tools
array [(1) ]() . Custom functions include properties like
url
and
method
for webhook configuration [(2) ]() . For Phone Number Inbound Webhooks: Navigate to the Phone Numbers section in your dashboard, find the phone number you want to modify, and you'll see a checkbox to activate the inbound webhook field for that specific phone number [(3) ]() . For Call Event Webhooks: These are configured at the account level and will POST payloads to your endpoint for events like
call_started
,
call_ended
, and
call_analyzed
[(4) ]() . If you're specifically looking to change webhook URLs for custom function tools via API, you would use the Update Retell LLM endpoint and modify the
general_tools
array with your custom tool configurations [(1) ]() . Could you clarify which type of webhook URL you're trying to change? This will help me provide more specific guidance.
​ To learn more, see the sources I considered: [[1] Update Retell LLM](https://docs.retellai.com/api-references/update-retell-llm) [[2] Custom function webhook](https://discord.com/channels/1186424376300679209/1361887355916648599) [[3] I need help changing the Inbound Call Agent and the Inbound Webhook URL in Phone Numbers section](https://discord.com/channels/1186424376300679209/1382274403018215534) [[4] Webhook Overview](https://docs.retellai.com/features/webhook-overview) ​
Feel free to tag @AI Evy with additional questions. I also appreciate feedback, it helps me improve.
m
@User i made a custom tool called book_appointment that collects name, service, numer. where can i change that tool settings to add stuff
@AI Evy i made a custom tool called book_appointment that collects name, service, numer. where can i change that tool settings to add stuff
a
Thanks for the follow-up, @moody. I'll get back to you soon.
### Answer You can modify your custom
book_appointment
tool settings through the Update Retell LLM endpoint or in the Retell AI dashboard [(1) ]() . To add or modify parameters in your custom tool via API, you'll update the
general_tools
array in your agent configuration . Your custom tool structure should include a
parameters
object with
properties
that define what data to collect . Here's the structure for a custom tool with parameters [(2) ]() :
Copy code
json
{
  "type": "custom",
  "name": "book_appointment",
  "description": "Book an appointment with customer details",
  "url": "your_webhook_url",
  "speak_during_execution": true,
  "speak_after_execution": true,
  "execution_message_description": "The message you will say to user when calling this tool",
  "parameters": {
    "type": "object",
    "properties": {
      "name": { "type": "string" },
      "service": { "type": "string" },
      "number": { "type": "string" }
    },
    "required": ["name", "service", "number"]
  }
}
To add more fields, simply add them to the
properties
object . For example, to add an email field:
Copy code
json
"properties": {
  "name": { "type": "string" },
  "service": { "type": "string" },
  "number": { "type": "string" },
  "email": { "type": "string" }
}
You can update this through the API using the Update Retell LLM endpoint by modifying the
general_tools
array [(1) ]() . **
​ To learn more, see the sources I considered: [[1] Update Retell LLM](https://docs.retellai.com/api-references/update-retell-llm) [[2] Discord message from @hello_14019 on 2024-12-17](https://discord.com/channels/1186424376300679209/1186462578310910112/1318449184713478208) ​
Feel free to tag @AI Evy with additional questions. I also appreciate feedback, it helps me improve.