> ## Documentation Index
> Fetch the complete documentation index at: https://agno-v2-docs-scavio-google-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](/examples/tools/tool-hooks/pre-and-post-hooks)                                          | Intercept and manage tool execution for better agent control.                                  |
| [Tool Hooks](/examples/tools/tool-hooks/tool-hook)                                                           | Define custom logic to intercept and log tool executions.                                      |
| [Tool Hooks in Toolkit](/examples/tools/tool-hooks/tool-hook-in-toolkit)                                     | Apply custom validation logic to tools within a toolkit.                                       |
| [Tool Hooks in Toolkit with State](/examples/tools/tool-hooks/tool-hook-in-toolkit-with-state)               | Manage tool arguments dynamically using shared agent session state.                            |
| [Nested Tool Hooks in Toolkit with State](/examples/tools/tool-hooks/tool-hook-in-toolkit-with-state-nested) | Manage nested tool execution logic using agent session state.                                  |
| [Nested Tool Hooks in Toolkit](/examples/tools/tool-hooks/tool-hooks-in-toolkit-nested)                      | Use of multiple hooks for sync and async execution.                                            |
| [Message History In Hooks](/examples/tools/tool-hooks/message-history-in-hooks)                              | Access the current run's message history inside tool pre/post hooks via run\_context.messages. |
