How can I retrieve tool usage information from sub-agents in the frontend using the useChat hook from AI SDK?
For example, in the documentation (https://mastra.ai/en/examples/agents/hierarchical-multi-agent), the Publisher agent has two sub-agents: copyWriter and editor. From the orchestrator agent, I can display the tool calls of the main agents, but I cannot access the tool calls made by sub-agents.
Do you have any suggestions on how to handle this? Is there a way to access or expose the complete tool call hierarchy including those made by sub-agents?