Create a function
Creates a function.
Authorizations
In the form Bearer <api_key_here>. You can find your api key in your dashboard.
Body
- Transfer
- API
The name of the function.
A description of what the function does.
The numbers that the agent is allowed to transfer to in e.164 format (+11234567890).
A human readable label for the function, used in the Vogent dashboard instead of the name. Never shown to the model. Defaults to empty, in which case the name is displayed.
transfer, api Messages to display during function execution lifecycle events.
Instead of using a fixed list of allowed numbers, allow the agent to transfer to any number (not recommended).
Response
Successful operation
- Transfer
- API
The name of the function.
A human readable label for the function, used in the Vogent dashboard instead of the name. Never shown to the model, and empty when unset — display the name in that case.
A description of what the function does.
transfer, api The numbers that the agent is allowed to transfer to.
Instead of using a fixed list of allowed numbers, allow the agent to transfer to any number (not recommended).
Messages to display during function execution lifecycle events.