Choose a Fill using option for each tool input. Use Dynamically fill with AI to interpret a user request. Use Custom value when you already know the value or want to define how the tool gets it.
1. Dynamically fill with AI: Input values generated automatically by AI
The AI uses the user’s request, the agent’s Persona & Prompt, the tool description, and the input’s display name and description to supply a value.
When to use this option
Use it when the value comes from what the user says, such as a product name or a search condition described in the conversation.
Example
A user says: “Show me all red products that are low in stock.”
AI may automatically generate:
Color == "Red" and Inventory < 10
Important notes when using Dynamically fill with AI
In the input row, select Customize and describe what the value represents and any expected format. For example, list the fields the agent can use to filter records. Use the tool description or the agent’s prompt to explain when to ask the user for information that is missing.
2.Custom value: A fixed value that does not rely on AI generation
With Custom value, configure the value or expression the tool will use. An expression can read a variable whose value changes each time the agent runs.
When to use this option
Use it for numeric limits, selected fields, or filter rules that must keep a specific structure. For a repeating query, you can control which fields are returned, their record sort order, and how many records appear on a page.
Example
Fields = "ProductName, Inventory" Sorts = "CreatedOn desc" Page size = 20
Note: Custom value can also reference AI Agent input variables
In the expression editor, expand AI Agent → Input variables and select variables such as Input.ProductName, Input.Threshold, or Input.Category. The values can be supplied with each request, including from a form, workflow, or API.
Example expression
ProductName == Input.ProductName and Inventory < Input.Threshold
The Data filter remains a Custom value, but its parameters become dynamic.
3. Key differences between the two fill methods
Item | Dynamically fill with AI | Custom value |
Value generated by AI | ✔ Yes | ✘ No (fixed or variable reference) |
Depends on natural language | ✔ Yes | ✘ No |
Flexibility | High | Medium |
Stability | Medium (depends on AI inference) | High (format controlled) |
Suitable for strict filter format | ✘ Not recommended | ✔ Highly recommended |
Can reference Input variables | Rarely used | ✔ Fully supported |
4. Best practices
Use a custom expression for rules that must stay fixed, and describe the expected value when you use AI. You can combine the two options on one tool, such as AI for Data filter and a custom Page size. Configure Query Items
Summary
Use a test list with known records. Try two ways of asking for the same dynamic filter and check that both return the expected records.
Try a request with the required value missing. Check that the agent asks for it or shows an appropriate result.
Run the custom expression twice with different threshold values. Check that the results change while the comparison and page size follow your configuration.

