> ## 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.

# Overview

> Using Tool Hooks with Agno agents.

| Example | Description |
| - | - |
| [Pre And Post Hooks](https://agno-v2.mintlify.site/examples/tools/tool-hooks/pre-and-post-hooks.md) | Intercept and manage tool execution for better agent control. |
| [Tool Hooks](https://agno-v2.mintlify.site/examples/tools/tool-hooks/tool-hook.md) | Define custom logic to intercept and log tool executions. |
| [Tool Hooks in Toolkit](https://agno-v2.mintlify.site/examples/tools/tool-hooks/tool-hook-in-toolkit.md) | Apply custom validation logic to tools within a toolkit. |
| [Tool Hooks in Toolkit with State](https://agno-v2.mintlify.site/examples/tools/tool-hooks/tool-hook-in-toolkit-with-state.md) | Manage tool arguments dynamically using shared agent session state. |
| [Nested Tool Hooks in Toolkit with State](https://agno-v2.mintlify.site/examples/tools/tool-hooks/tool-hook-in-toolkit-with-state-nested.md) | Manage nested tool execution logic using agent session state. |
| [Nested Tool Hooks in Toolkit](https://agno-v2.mintlify.site/examples/tools/tool-hooks/tool-hooks-in-toolkit-nested.md) | Use of multiple hooks for sync and async execution. |
| [Message History In Hooks](https://agno-v2.mintlify.site/examples/tools/tool-hooks/message-history-in-hooks.md) | Access the current run's message history inside tool pre/post hooks via run\_context.messages. |


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