Knowledge Hub
›
AI Agents & RAG
›
AI Agents
› Tools & Function Calling
Tools & Function Calling
How agents use tools.
Articles in Tools & Function Calling
When an AI Agent Has Too Many Tools: Fixing Tool-Selection Ambiguity
— Give an agent three different ways to look up a customer -- by email, by ID, by name search -- and it will pick a different one each time for reasons that have nothing to do with which is actually best.
When an AI Agent Calls a Tool That Doesn't Exist
— A looping agent at least calls a real tool over and over. A more disorienting failure is an agent confidently invoking a function name that was never in its tool list at all.
Building Your First AI Agent with the GPT-6 Astra API: A Step-by-Step Developer Guide
— A hands-on walkthrough of building a tool-calling research agent with GPT-6 Astra, covering tool definitions, the reasoning loop, structured output, error handling, and where human checkpoints belong.
Gemini API Function Calling Guide: Modes, Parallel Calls, and Multi-Turn Tool Use
— AUTO, ANY, and NONE change whether Gemini is allowed to call a tool at all — a distinction most integrations get wrong. Parallel calls, compositional chains, and the full request/response loop in Python.
Model Context Protocol (MCP) for Business Automation: Connecting AI Agents to Your Tools
— MCP standardizes how AI agents connect to your CRM, database, and internal tools. Here's what the protocol actually does and how to evaluate it for non-developer automation teams.
Building AI Agents with LLM Function Calling: A Developer's Integration Guide
— Every AI agent, no matter how sophisticated it looks from the outside, is built on the same primitive underneath: a loop where the model requests a function call, your code executes it, and the result goes back in. Here's how that loop actually works.
Why More AI Agent Tools Make It Worse at Using Any of Them
— It's tempting to give an agent every tool it might need. Past a certain count, that choice makes it worse at picking the right one for the task at hand.
How to Break an AI Agent Loop That Keeps Calling the Same Tool
— Your AI agent calls the same search or lookup tool five times in a row with nearly identical arguments and never actually finishes the task. Here's why that AI agent loop happens and how to break it.
Home
·
Knowledge Hub
·
Contact