https://retellai.com/?utm_source=discord&utm_medium=seo logo
my agent has access and uses tools which I don't s...
# ❓・ai-evy-support
w
@AI Evy my agent has access and uses tools which I don't see. whats going on? it also has access to super specific information which is not in any of its prompts
a
Thanks for tagging me @weronika. I'll look through relevant sources and get back to you shortly.
### Answer There are a few places where your agent could be getting tools and information that you might not immediately see: 1. General Tools vs State-Specific Tools If you're using a multi-prompt (states) agent, tools can be configured at two levels: -
general_tools
– available across all states -
tools
within each individual state The total tools available = general tools + state tools + state transitions [(1) ]() 2. Knowledge Base If a knowledge base is attached to your agent via
knowledge_base_ids
, the agent can retrieve information from scraped webpages, uploaded files, or manually added text that may not appear directly in your prompts. [(2) ]() 3. Dynamic Variables Your agent may have access to system default dynamic variables that are automatically provided, such as
{{current_time}}
,
{{user_number}}
,
{{agent_number}}
,
{{call_id}}
, and others—these don't need to be explicitly set. [(3) ]() 4. Default Dynamic Variables There's also a
default_dynamic_variables
field where fallback values can be set at the agent level. These inject data into prompts even if not provided per-call. [(3) ]() [(1) ]() What to check: - Review your agent's
general_tools
and each state's
tools
configuration - Check if any knowledge bases are attached - Look at the
default_dynamic_variables
field in your LLM configuration - Review the "Detail Logs" in your call history to see exactly which tools are being called Would you like help troubleshooting a specific tool or piece of information your agent is using?
​ To learn more, see the sources I considered: [[1] Create Retell LLM](https://docs.retellai.com/api-references/create-retell-llm) [[2] Platform Changelogs | Retell AI](https://www.retellai.com/changelog) [[3] Dynamic Variables](https://docs.retellai.com/build/dynamic-variables) ​
Feel free to tag @AI Evy with additional questions. I also appreciate feedback, it helps me improve.
w
@User where do i access: general_tools
@AI Evy I Evy where do i access: general_tools
a
Thanks for the follow-up, @weronika. I'll get back to you soon.
### Answer You can access
general_tools
through the Retell LLM configuration. [(1) ]() Via the API: You can view your LLM's
general_tools
by retrieving it:
Copy code
javascript
import Retell from 'retell-sdk';
const client = new Retell({
  apiKey: 'YOUR_RETELL_API_KEY',
}) ;
const llmResponse = await client.llm.retrieve('16b980523634a6dc504898cda492e939') ;
console.log(llmResponse.llm_id) ;
[(2) ]() You can update
general_tools
using:
Copy code
javascript
import Retell from 'retell-sdk';
const client = new Retell({
  apiKey: 'YOUR_RETELL_API_KEY',
}) ;
const llmResponse = await client.llm.update('16b980523634a6dc504898cda492e939', {
  begin_message: 'Hey I am a virtual assistant calling from Retell Hospital.',
}) ;
console.log(llmResponse.llm_id) ;
[(3) ]() What
general_tools
contains:
general_tools
is a list of tools the model may call (to get external knowledge, call API, etc) . You can select from predefined tools like end call, transfer call, etc., or create custom tools. [(1) ]() - Tools of LLM (with state) = general tools + state tools + state transitions - Tools of LLM (no state) = general tools Via the Dashboard: In the Retell Dashboard, when editing your agent's LLM configuration, you should see the tools section where
general_tools
are configured. The API documentation shows the structure, but the Dashboard provides a visual interface for managing these same settings.
​ To learn more, see the sources I considered: [[1] Create Retell LLM](https://docs.retellai.com/api-references/create-retell-llm) [[2] Get Retell LLM](https://docs.retellai.com/api-references/get-retell-llm) [[3] Update Retell LLM](https://docs.retellai.com/api-references/update-retell-llm) ​
Feel free to tag @AI Evy with additional questions. I also appreciate feedback, it helps me improve.
w
@AI Evy can i not see general tools in the ui?
a
Thanks for the follow-up, @weronika. I'll get back to you soon.
### Answer --- The available sources don't explicitly document where
general_tools
appears in the Retell Dashboard UI. The documentation primarily covers API access to
general_tools
. [(1) ]() [(2) ]() [(3) ]() What I can confirm: In the Dashboard, when you edit your agent's LLM configuration, the tools you add there correspond to
general_tools
(for agents without states) or a combination of
general_tools
and state-specific tools (for multi-prompt agents) . [(2) ]() If you're using a single-prompt agent, the tools you see in the agent editor are your
general_tools
. If you're using a multi-prompt (states) agent, you may have tools configured at both the general level and within individual states. To definitively see your
general_tools
configuration
, you can retrieve it via the API:
Copy code
javascript
import Retell from 'retell-sdk';
const client = new Retell({
  apiKey: 'YOUR_RETELL_API_KEY',
}) ;
const llmResponse = await client.llm.retrieve('16b980523634a6dc504898cda492e939') ;
console.log(llmResponse.llm_id) ;
[(1) ]() This will return the full LLM configuration including the
general_tools
array. If you're seeing tools your agent uses that don't appear in your Dashboard view, retrieving the LLM via API will show you the complete picture of what's configured.
​ To learn more, see the sources I considered: [[1] Get Retell LLM](https://docs.retellai.com/api-references/get-retell-llm) [[2] Create Retell LLM](https://docs.retellai.com/api-references/create-retell-llm) [[3] Update Retell LLM](https://docs.retellai.com/api-references/update-retell-llm) ​
Feel free to tag @AI Evy with additional questions. I also appreciate feedback, it helps me improve.
w
@AI Evy where do i send this "import Retell from 'retell-sdk'; const client = new Retell({ apiKey: 'YOUR_RETELL_API_KEY', }) ; const llmResponse = await client.llm.retrieve('16b980523634a6dc504898cda492e939') ; console.log(llmResponse.llm_id) ;"
a
Thanks for the follow-up, @weronika. I'll get back to you soon.
### Answer That JavaScript code runs in your own application environment—not in the Retell Dashboard. [(1) ]() Here's how to use it: 1. Install the SDK in your Node.js project:
Copy code
bash
npm i retell-sdk
2. Create a JavaScript/TypeScript file in your project and add the code:
Copy code
javascript
import Retell from 'retell-sdk';
const client = new Retell({
  apiKey: 'YOUR_RETELL_API_KEY',
}) ;
const llmResponse = await client.llm.retrieve('16b980523634a6dc504898cda492e939') ;
console.log(llmResponse.llm_id) ;
[(2) ]() 3. Get your API key from the "API Keys" tab in your Retell Dashboard. [(1) ]() 4. Replace
'YOUR_RETELL_API_KEY'
with your actual API key, and replace the LLM ID with your agent's LLM ID. 5. Run the file using Node.js (version 18.10.0 or higher required) . If you prefer Python, you can use:
Copy code
python
from retell import Retell

client = Retell(
    api_key="YOUR_RETELL_API_KEY",
)
[(3) ]() The response will include your full LLM configuration, including
general_tools
. [(2) ]()
​ To learn more, see the sources I considered: [[1] SDKs](https://docs.retellai.com/get-started/sdk) [[2] Get Retell LLM](https://docs.retellai.com/api-references/get-retell-llm) [[3] Retell Python API library](https://github.com/RetellAI/retell-python-sdk/blob/main/README.md) ​
Feel free to tag @AI Evy with additional questions. I also appreciate feedback, it helps me improve.
w
@AI Evy Can i contact someone aboiut this
a
Thanks for the follow-up, @weronika. I'll get back to you soon.
### Answer Yes, you can reach Retell AI's team through these channels: Contact Sales: Visit [Contact Sales]() to speak with the sales team about your specific issue. [(1) ]() Support Email: For technical issues, you can email [support@retellai.com](support@retellai.com) . GitHub: Visit for technical resources and support. Documentation: Visit [Documentation]() for comprehensive guides. Since your issue involves tools appearing that you didn't configure, I'd recommend reaching out via the sales contact or support email with your agent ID so they can investigate your specific configuration.
​ To learn more, see the sources I considered: [[1] Health Care Use Case](https://community.retellai.com/t/health-care-use-case/746) ​
Feel free to tag @AI Evy with additional questions. I also appreciate feedback, it helps me improve.
w
@AI Evy how can i get my agent to use dynamic variables in the url of api calls?
a
Thanks for the follow-up, @weronika. I'll get back to you soon.
### Answer To use dynamic variables in the URL of your custom function API calls, use double curly braces
{{variable_name}}
syntax in your endpoint URL. [(1) ]() Key steps: 1. Use the correct syntax – Variables must be wrapped in double curly braces
{{}}
, not single braces
{}
. A common issue is using
{variable}
instead of
{{variable}}
. [(2) ]() 2. Extract the variable first – Before calling the function that uses the variable in its URL, you need to extract it using the Extract Dynamic Variables tool. The variable must be populated before the API call is made. [(3) ]() 3. Example URL format:
Copy code
<https://api.example.com/appointments/%7B%7Bappointment_id%7D%7D/details>
[(1) ]() 4. For query parameters:
Copy code
<https://api.example.com/Patient?name=%7B%7Bname%7D%7D&birthdate=%7B%7Bbirthdate%7D%7D>
[(2) ]() Common troubleshooting: - Ensure the variable name in your URL matches exactly (case-sensitive) what you named it when extracting [(3) ]() - Verify the extract variable tool runs before the function call that uses it - Check
collected_dynamic_variables
in your call details to confirm the variable has a value when the tool is invoked Dynamic variables can be used in custom function URLs, tool descriptions, property descriptions, and query parameters. [(1) ]()
​ To learn more, see the sources I considered: [[1] Dynamic Variables](https://docs.retellai.com/build/dynamic-variables) [[2] Issue with Global Variables Not Passing in Query Parameters for Custom Function Tool](https://community.retellai.com/t/issue-with-global-variables-not-passing-in-query-parameters-for-custom-function-tool/773) [[3] Custom function failure to substitute dynamic variable](https://community.retellai.com/t/custom-function-failure-to-substitute-dynamic-variable/231) ​
Feel free to tag @AI Evy with additional questions. I also appreciate feedback, it helps me improve.