FREE STUDY NOTES · AI-901

What an AI agent is, and how tool_choice controls tool calls

Agents as model plus instructions, knowledge and tools, and the auto, required and none tool_choice values.

From Ultra Transcenders AI-901 by Tony Rough (publishing soon)

An AI agent goes further than a single prompt and response: it can reason about a request and take actions to fulfil it.

A user request goes into an agent and a response comes out. Inside the agent, a generative model acts as the reasoning engine, drawing on instructions and knowledge and calling tools. A panel lists the tool_choice values: auto (the default; the model decides), required (it must call one or more tools), none (no tool calls) and a specific tool (forces that tool).
Figure 5.1: An agent combines a generative model with instructions, knowledge and tools, and tool_choice controls whether it calls tools

Settings that shape an agent

Each setting controls one thing, so match the requirement to the right setting.

Controlling tool use

The tool_choice parameter decides whether the model calls tools.

tool_choice Effect
auto (default) The model decides whether to call a tool; there’s no guarantee it will
required The model must call one or more tools on every response
none No tool calls
A specific tool’s specification Forces that one tool

Get the whole book

This note is one section of Ultra Transcenders AI-901: Microsoft Azure AI Fundamentals, an independent study guide that explains every topic the exam covers by technology, with comparison tables, diagrams and the common traps, plus a glossary linked to Microsoft Learn.

Amazon.co.ukKindle: coming soonPaperback: coming soon
Amazon.comKindle: coming soonPaperback: coming soon

Publishing soon on Amazon in Kindle and paperback editions.

About the book · Free AI-901 glossary · All AI-901 study notes

More AI-901 study notes