Advanced FeaturesAgentic AI
Function Calling & Tool Execution
Connect models to external APIs, databases, and custom functions using OpenAI-compatible tool specifications.
API100 supports standard tool calling across Claude 3.5 Sonnet, GPT-4o, and Gemini 1.5 Pro.
Pass a list of tools with JSON schemas into the tools parameter. When the model determines an external function is needed, it returns a tool_calls payload containing function names and parsed arguments.
Tool Schema Examplejson
{
"model": "claude-3-5-sonnet",
"messages": [{"role": "user", "content": "What is the stock price of AAPL?"}],
"tools": [{
"type": "function",
"function": {
"name": "get_stock_quote",
"description": "Fetch real-time ticker quotes",
"parameters": {
"type": "object",
"properties": {
"symbol": { "type": "string" }
},
"required": ["symbol"]
}
}
}]
}
