LoopAI-103

Before you start

Short explainers for ideas this lesson builds on. Watch these first if they're new to you.

0 of 1 watched · about 2 min
Read this lesson

Why build your own

Custom tools let Foundry Agent Service fit your business, not just answer general questions. They bring three wins. Productivity: they automate repetitive tasks and streamline the workflows that are specific to your work. Accuracy: they return precise, consistent results, so there's less room for human error. And tailored solutions: they tackle your particular business problems and help you optimize your processes. Adding a tool doesn't mean it runs every time; it simply becomes available, and the agent decides whether to use it, based on each prompt. Here's a skier asking about conditions at a resort. The agent sees it has a tool that calls a weather service's API, so it calls it. The tool returns the weather report, and the agent turns it into an answer. Ask the same agent for a joke, and it won't touch the weather tool at all.

Five places custom tools shine

Custom tools show up across industries, and each story has the same shape: a scenario, what the agent can do, and the outcome. In customer support, a retailer connects the agent to its CRM, the system that stores customer records. The agent can pull order histories, process refunds, and give real-time shipping updates, so queries are resolved faster, support teams carry less, and customers are happier. In inventory management, a manufacturer links the agent to its inventory system. It checks stock levels, predicts restocking needs from historical data, and orders from suppliers automatically, streamlining the supply chain. In healthcare, a provider adds a custom scheduling tool. The agent accesses patient records, suggests open appointment slots, and sends reminders, easing admin work and improving the patient experience. An IT department connects the agent to its ticketing and knowledge base systems. It troubleshoots common issues, escalates complex problems, and tracks tickets, so problems are fixed faster, with less downtime. And a school connects the agent to its learning management system, or LMS. It recommends courses, tracks student progress, and answers questions about course content, boosting engagement and cutting admin work. Different industries, one idea: custom tools let an agent reach your systems and deliver real value.

Facts from Microsoft's documentation: Use function calling with Microsoft Foundry agents; Connect OpenAPI tools to Microsoft Foundry agents (CC BY 4.0), rewritten in Loop's own words and examples. Narration, animation, and quiz by Loop. Microsoft, Azure, and Microsoft Foundry are trademarks of Microsoft. Loop is independent and not affiliated with or endorsed by Microsoft.