How to use a subgraph as a tool?

Check the swarm doc there Multi-agent - Docs by LangChain and Swarm Architecture Agents in LangGraph | by Duarte Caldas Cardoso | Medium