M
Mastraβ€’7d ago
ak681443

Make tool validation async to allow async refinements

Having the ability to run async zod refinements as part of tool calls would be a good get. Since working memory is also modeled as a tool call this makes it easy to guide how the agents update memory and enforce domain specific validations without inventing another abstraction Raised a PR showing what I am looking for https://github.com/mastra-ai/mastra/pull/10678 Please lmk if this is something you'd want upstream and also if you need changes. Thanks ! cc: @Abhi Aiyer
GitHub
Make tool ip/op/suspend data validation async to allow for zod refi...
…ments to be async Description Related Issue(s) Type of Change Bug fix (non-breaking change that fixes an issue) New feature (non-breaking change that adds functionality) Breaking change (fix...
2 Replies
Abhi Aiyer
Abhi Aiyerβ€’7d ago
Thanks for opening this! We'll take a look!
Mastra Triager
Mastra Triagerβ€’7d ago
πŸ“ Created GitHub issue: https://github.com/mastra-ai/mastra/issues/10699 πŸ” If you're experiencing an error, please provide a minimal reproducible example whenever possible to help us resolve it quickly. πŸ™ Thank you for helping us improve Mastra!

Did you find this page helpful?