maxSteps on agent tool calling

AI SDK supports maxSteps when using an agent to call a tool multiple times. Is this supported in Mastra or how do I otherwise allow an agent to call the same tool many times?

I'm using the agent network stuff and need to get website content, then visit some of the links in that website content.
Was this page helpful?