# Tool Schema

- **Canonical URL:** https://getaimath.com/dictionary/tool-schema/
- **Topics:** [AI Agents & Agentic AI](https://getaimath.com/dictionary/category/ai-agents-and-agentic-ai/)
- **Last updated:** 2026-11-25

## What is Tool Schema?

**In one sentence:** A tool schema is a structured description of a tool, telling the model its name, what it does and what inputs it needs.

It is usually written in JSON Schema. The model reads the schema to know when and how to call the tool correctly.

![Chatbot vs. AI Agent: Giving Advice vs. Doing the Chore — Simple cartoon comparing a Chatbot (gives you a recipe and stops) with an AI Agent (plans steps, uses tools like your calendar and browser, checks if it worked, and finishes the job).](https://getaimath.com/diagrams/ai-agents-and-agentic-ai.png)
*Napkin Diagram (AI Agents & Agentic AI): A regular chatbot just talks back; an AI agent has hands (tools) and loops until the chore is actually finished.*

## What is an example of Tool Schema?

A schema for "get_weather" might say it needs a "city" text field and an optional "unit" field.

## Why does Tool Schema matter?

Clear schemas help models call tools correctly and safely.

## Related Concepts

- [Tool Use](https://getaimath.com/dictionary/tool-use/): Tool use is an AI's ability to use external tools to do things it cannot do well alone.
- [Tool Execution](https://getaimath.com/dictionary/tool-execution/): Tool execution is the step where the app actually runs the tool the model asked for and returns the result.
- [Tool Calling](https://getaimath.com/dictionary/tool-calling/): Tool calling is when an AI model asks to use an outside tool, like a calculator, search engine or app, by producing a structured request.
- [Agent Memory](https://getaimath.com/dictionary/agent-memory/): Agent memory is how an AI agent stores and recalls information across steps or sessions.
- [Observation](https://getaimath.com/dictionary/observation/): An observation is the information an agent receives after it takes an action, like a tool's result or an error message.
- [Agent State](https://getaimath.com/dictionary/agent-state/): Agent state is everything that describes where an agent is in its task right now: its goal, progress, data and pending steps.

---
Source: The AI Math Dictionary (https://getaimath.com/dictionary/tool-schema/)
