Skip to main content

Function Calling with Custom Tools

Enable AI models to use external functions by defining tool schemas. Models can then call these functions automatically based on user requests.

Connecting to MCP Servers

Connect to Model Context Protocol (MCP) servers to give AI models access to external tools and services without manually defining each function.
Read more about MCP connections and in-house tool registration via local MCP server in the MCP Features section.

Advanced Tool Examples

Weather API Tool

Database Query Tool

File System Tool

Multiple Tool Support

Use multiple tools in a single request:

Tool Choice Options

Control how the AI uses tools:

Next Steps