> ## Documentation Index
> Fetch the complete documentation index at: https://agno-v2.mintlify.site/llms.txt
> Use this file to discover all available pages before exploring further.

# Creating your own tools

> Write custom tool functions and use the `@tool` decorator to modify tool behavior.

In most production cases, you will need to write your own tools.

The rule is simple:

* Any Python function can be used as a tool by an Agent.
* Use the `@tool` decorator to modify what happens before and after this tool is called.

There are two main ways to create tools in Agno:

1. Create a Python function (optionally using the `@tool` decorator)
2. Create a Toolkit

## Learn more

> **[Python Functions as Tools](https://agno-v2.mintlify.site/tools/creating-tools/python-functions.md)**
>
> Turn any Python function into an agent tool.

> **[Toolkits](https://agno-v2.mintlify.site/tools/creating-tools/toolkits.md)**
>
> Bundle related tools into reusable toolkits.


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.