validateToolOutput property
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;
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;