Function Calling
Function calling lets agents take actions during a conversation — like checking order status, looking up account info, or booking appointments — by calling external HTTP endpoints.How It Works
- You define functions in the agent config with a name, description, endpoint, and parameters
- The LLM decides when to call a function based on the conversation
- The agent worker makes the HTTP request to your endpoint
- The response is fed back to the LLM to incorporate into its reply
Configuring Functions
Add functions to your agent configuration:Parameter Substitution
URL parameters wrapped in{braces} are automatically substituted from the function arguments. For example, {order_id} in the endpoint URL is replaced with the actual order ID from the LLM’s function call.
Dashboard UI
The agent settings page provides a visual editor for adding and configuring functions — no JSON editing required. Each function has fields for:- Function name
- Description (used by the LLM to decide when to call it)
- HTTP method and endpoint URL
- Parameter schema with types and descriptions