In short, we’ve had to add our own temporary patch at the moment:
The patch works around a mismatch between 'zod-from-json-schema' (which marks non-required fields as '•optional() but NOT ' •nullable ()') and LLM tool-call output (which commonly sends 'null' or 'undefined' for omitted optional fields). Without these patches, Mastra's 'validateToolInput' rejects the first parse attempt and falls back to 'stripNullishValues' - which silently drops fields.