| Example | Description |
|---|---|
| Post Hook Output | Demonstrates output validation and transformation post-hooks for team runs. |
| Pre Hook Input | Demonstrates input validation and transformation pre-hooks for team runs. |
| Stream Hook | Demonstrates post-hook notifications after team response generation. |
| Async Tools | Demonstrates async team execution with mixed research and scraping tools. |
| Custom Tools | Demonstrates a team using a custom FAQ tool plus web-search fallback. |
| Member Tool Hooks | Demonstrates permission-aware tool hooks that gate member delegation. |
| Tool Hooks | Demonstrates team/member tool hooks for logging delegation and tool execution timing. |
| Async Toolkit Context | Demonstrates that async-only toolkit functions are correctly included in the team system message when add_member_tools_to_context=True. |
| Member Information | Demonstrates enabling the get_member_information_tool capability on a Team. |
| Message History In Tool Hooks | Access the current run’s message history inside tool hooks in a team via run_context.messages. |
| Tool Call Limit | Demonstrates constraining how many tool calls a Team can make in a single run. |
| Tool Choice | Demonstrates using tool_choice to force the Team to execute a specific tool. |
Tools & Hooks
Tools
Configure team and member tools, tool hooks, tool choice, and call limits.