Developers
Building custom functions
Let the agent call your backend mid-conversation.
Define a function name, JSON schema for inputs, and the URL to POST to.
The agent decides when to call the function based on the conversation — same model that powers OpenAI-style tool use.
Use functions for stock checks, price lookups, custom bookings or any internal logic.