# Custom Tool Parameter

**URL:** <https://community.retellai.com/t/custom-tool-parameter/925>\
**Category:** Support Help\
**Tags:** integrations\
**Created:** [February 23, 2026, 1:05pm UTC](https://community.retellai.com/t/custom-tool-parameter/925 "2026-02-23T13:05:47Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![etkaozer0](https://yyz2.discourse-cdn.com/flex008/user_avatar/community.retellai.com/etkaozer0/32/877_2.png) [@etkaozer0](https://community.retellai.com/u/etkaozer0)\
**Post date:** [February 23, 2026, 1:05pm UTC](https://community.retellai.com/t/custom-tool-parameter/925/1 "2026-02-23T13:05:47Z")

</div>

I want to add a tool (custom function in retell) which is a basic weather forecast api request.  
It is a GET request, therefore in the UI, i CAN NOT choose if the “parameters” should be description (filled by the model) or value (constant).

I am asking your Helper AI on the official website and it insists that there IS a toggle to switch this query type in the GET requests but there is not.

Typing {{q}} to tell the model it needs to fill this itself doesn’t work either. Model is calling the tool with no parameters, i can not navigate the model properly

---

<div class="post-metadata">

**Author:** ![support2](https://yyz2.discourse-cdn.com/flex008/user_avatar/community.retellai.com/support2/32/15_2.png) [@support2](https://community.retellai.com/u/support2)\
**Post date:** [February 23, 2026, 1:06pm UTC](https://community.retellai.com/t/custom-tool-parameter/925/2 "2026-02-23T13:06:09Z")

</div>

You’re correct— **GET requests in Retell AI custom functions do not support the description/const value toggle for query parameters** [(1)](https://docs.retellai.com/build/conversation-flow/custom-function). That toggle is only available for POST, PATCH, and PUT requests[(1)](https://docs.retellai.com/build/conversation-flow/custom-function).

For GET requests with dynamic query parameters, you need to use the **Extract Dynamic Variable** function first to capture the value from the conversation, then reference it in your query parameters using `{{variable_name}}`[(2)](https://community.retellai.com/t/custom-function-failure-to-substitute-dynamic-variable/231)[(3)](https://discord.com/channels/1186424376300679209/1384523020110008420)[(4)](https://discord.com/channels/1186424376300679209/1450867178906714123).

**Here’s the workflow:**

1. **Extract the location** using the Extract Dynamic Variable function before calling your weather API[(2)](https://community.retellai.com/t/custom-function-failure-to-substitute-dynamic-variable/231)[(3)](https://discord.com/channels/1186424376300679209/1384523020110008420)
2. **Set up your query parameter** in the custom function with double curly braces: `{{city}}` or `{{location}}`[(5)](https://community.retellai.com/t/issue-with-global-variables-not-passing-in-query-parameters-for-custom-function-tool/773)[(2)](https://community.retellai.com/t/custom-function-failure-to-substitute-dynamic-variable/231)[(4)](https://discord.com/channels/1186424376300679209/1450867178906714123)
3. **Ensure the variable has a value** before the tool is called—otherwise it will pass the literal text `{{q}}` instead of the extracted value[(2)](https://community.retellai.com/t/custom-function-failure-to-substitute-dynamic-variable/231)[(4)](https://discord.com/channels/1186424376300679209/1450867178906714123)

**Important notes from community issues:**

- Variables must use **double curly braces** `{{variable_name}}`, not single `{variable_name}`[(5)](https://community.retellai.com/t/issue-with-global-variables-not-passing-in-query-parameters-for-custom-function-tool/773)
- The Extract Dynamic Variable function must run **before** your custom function call[(2)](https://community.retellai.com/t/custom-function-failure-to-substitute-dynamic-variable/231)[(3)](https://discord.com/channels/1186424376300679209/1384523020110008420)
- The variable name in your extraction must **exactly match** what’s in your URL[(2)](https://community.retellai.com/t/custom-function-failure-to-substitute-dynamic-variable/231)
- Test calls via web/chat may not work properly if the variable isn’t set—phone calls are more reliable for testing[(4)](https://discord.com/channels/1186424376300679209/1450867178906714123)

If you’re still having issues after setting up extraction, check your call logs to verify the variable has a value in `collected_dynamic_variables` before the tool is invoked[(2)](https://community.retellai.com/t/custom-function-failure-to-substitute-dynamic-variable/231).
