| Pre And Post Hooks | Demonstrates pre and post hooks. |
| Tool Hook | Pre-hook logic: this runs before the tool is called. |
| Tool Hook In Toolkit | Tool Hooks Tool Hook In Toolkit. |
| Tool Hook In Toolkit With State | When used as a tool hook, this function will receive the contextual Agent, function_name, etc as parameters. |
| Tool Hook In Toolkit With State Nested | When used as a tool hook, this function will receive the contextual Agent, function_name, etc as parameters. |
| Tool Hooks In Toolkit Nested | Remove name from result to sanitize the output. |