MastraM
Mastraβ€’2mo ago
Exziled

Tools error when calling from agent

Updated mastra from 0.17.x to latest and am seeing some very odd errors when it tries to execute its first tool in the agent... the agent is planning which tools to call correctly but it just fails immediately upon executing the first tool with an error. This tool requires no input (it dosn't even have an input schema) so I'm sort of at a loss? The tool even has a description that the tool itself takes no parameters.

result: {
    error: true,
    message: 'Tool validation failed for iic_login. Please fix the following errors and try again:\n' +
      '- root: Required\n' +
      '\n' +
      'Provided arguments: undefined',
    validationErrors: { _errors: [Array] }
  },
Was this page helpful?