The minimal end-to-end path — define a tool, define an agent, register it on the Mastra instance, and call it from your app.