Skip to main content
Define function schemas in the request and execute returned function calls in your application. The Unit can retain records of tool use. Tools implemented in your code are available while that application provides them. If you use the same Unit elsewhere, its retained tool-use records may refer to functions that the new environment cannot execute. Keep that Unit connected to the application that supplies its required functions. Factory-hosted custom tools and credential storage are in development.

Custom Tools Quickstart

JavaScript

Python

Advanced Custom Tools

Multiple Function Calls

Function Calling with Context