How to use a subgraph as a tool?

Thanks for the response, I’m guessing this was AI generated though? I did ask an LLM as well and it gave me similar output before asking here :stuck_out_tongue: - my question is what would be an idiomatic way to handle this? I did consider both option A and B, but A is undefined (my question is on how should_run(s)should be implemented) and B feels a bit hacky to me. For should_run(s), the only approach I can think of is defining a dummy @tool and detecting the name in function calls for the conditional edge but I assume there’s a smarter way?