https://retellai.com/?utm_source=discord&utm_medium=seo logo
does custom tools work properly inside components
# ❓・ai-evy-support
j
@AI Evy does custom tools work properly inside components?
a
Thanks for tagging me @Juan Andres Quiroga Monje. I'll look through relevant sources and get back to you shortly.
### Answer --- Yes, custom tools work inside Components. [(1) ]() The documentation explicitly states: > "Components can include function nodes and use your configured tools. Tools behave the same as in the main flow." There is one important note: tools need to be defined within the component itself and will not be visible outside at the agent level. You can also see in the API responses for Components that they include a
tools
array where custom tools can be defined: [(2) ]() , [(3) ]()
Copy code
json
"tools": [
  {
    "type": "custom",
    "name": "get_customer_info",
    "description": "Get customer information from database",
    "tool_id": "tool_001",
    "url": "<https://api.example.com/customer%22,>
    "method": "GET"
  }
]
[(2) ]()
​ To learn more, see the sources I considered: [[1] Components](https://docs.retellai.com/build/conversation-flow/components) [[2] List Conversation Flow Components](https://docs.retellai.com/api-references/list-conversation-flow-components) [[3] Get Conversation Flow Component](https://docs.retellai.com/api-references/get-conversation-flow-component) ​
Feel free to tag @AI Evy with additional questions. I also appreciate feedback, it helps me improve.