Some models support function calling, allowing them to interact with user-defined functions.

Code