This tutorial shows how to add shared behavior around your tools.Documentation Index
Fetch the complete documentation index at: https://redop.useagents.site/docs/llms.txt
Use this file to discover all available pages before exploring further.
What you will add
- one global middleware
- one before hook
- one after hook
Step 1: Add middleware
Step 2: Add hooks
How to think about it
- middleware changes or controls execution flow
- before hooks observe work before the handler runs
- after hooks observe successful results and may replace them