> ## Documentation Index
> Fetch the complete documentation index at: https://docs.alpha.isaree.ai/llms.txt
> Use this file to discover all available pages before exploring further.

# Tool calling

> How an AI agent reaches out to use other software, like your EMR or email.

By itself, an AI is trapped in a box — it can read text and write text, but it cannot actually *do* anything in the real world.

**Tool calling** is the bridge that lets the AI out of the box. It is the ability for an [Agent](/concepts/agent) to recognize when it needs help, and automatically "press the buttons" in other software to get the job done. It allows the AI to use tools just like a human would: searching a database, sending an email, or booking a calendar appointment.

## Watch tool calling work

You are finishing a consultation and tell the [Primary Agent](/isa/primary-agent): *"Schedule Mr. Smith for a follow-up MRI next Tuesday, and email his GP a summary of today's visit."*

Without tool calling, the AI would just type out a nice-looking email draft and hand it to you to send manually.

With **tool calling**, the AI actively goes to work. First, it "calls" the hospital scheduling tool to find an open MRI slot next Tuesday and books it. Then, it "calls" your email application, drafts the summary, attaches it, and securely sends it to the GP. The AI recognized the intent, selected the right tools for the job, and executed the workflow.

## What tool calling changes for clinicians

* **True automation:** Tool calling turns an AI from a passive "chatbot" into an active assistant that actually crosses items off your to-do list.
* **Reduces screen time:** You no longer have to log into three different systems (the EMR, the scheduling software, the email client) to complete one patient encounter. The AI does the system-hopping for you.
* **Seamless integration:** It allows modern AI to interact with older, legacy hospital systems without requiring massive, expensive IT overhauls.

## Next

<CardGroup cols={2}>
  <Card title="MCP servers" icon="server" href="/concepts/mcp-servers">
    How tools are securely exposed to agents.
  </Card>

  <Card title="Add an MCP server" icon="server" href="/hub/add-mcp-server">
    Register an MCP server so the Primary Agent can use it.
  </Card>
</CardGroup>
