
Function Types In The Builder
The visible function menu includes production actions users can configure.| Function | Typical use |
|---|---|
| End Call | Let the model end the call when the goal is complete or the caller should no longer continue. |
| Book on the Calendar | Create an appointment using configured calendar credentials and event settings. |
| Custom Function | Call an external API with method, endpoint, headers, query params, JSON schema, and response variables. |
Function Descriptions Matter
The model relies on descriptions to decide when to call a function.Name for the model
Use a short function display name that describes the action.
When to call it
Write a description that tells the agent the exact moment the tool is appropriate.
What data is needed
Use dynamic variables or schema fields for required arguments.
What to say while waiting
Custom functions can use a holding message when the API takes time.
Add A Function Safely
Configure required inputs
Add credentials, endpoint fields, event type, timezone, or API schema as needed.
Test the call path
Ask the caller something that should trigger the function and confirm the result.
Function Mistakes
Same name collision
Same name collision
The dashboard rejects duplicate function names. Use clear unique names.
Vague description
Vague description
The model may call the tool too early, too late, or never.
Slow external API
Slow external API
A working API can still create awkward silence. Use timeout and holding messages wisely.
Function left on a published version
Function left on a published version
Check version state before assuming an edit changed live behavior.
Related Reading
Custom Functions
Configure external API calls.
Post-Call Analysis
Extract results after tools run.
Testing Agents
Trigger tools in realistic calls.
Using Integrations In Agents
Connect provider actions when the agent needs a managed integration.