validateToolOutput property

  1. @override
bool get validateToolOutput
override

Whether callTool checks structuredContent against the tool's outputSchema (from the last tools/list). Clients should validate structured results; a mismatch fails the call with McpError.

Implementation

@override
bool get validateToolOutput => inner.validateToolOutput;
  1. @override
set validateToolOutput (bool value)
override

Whether callTool checks structuredContent against the tool's outputSchema (from the last tools/list). Clients should validate structured results; a mismatch fails the call with McpError.

Implementation

@override
set validateToolOutput(bool value) => inner.validateToolOutput = value;