Description
Purpose
- Allows the server to independently control whether to perform outputSchema validation (consistent with validate_input).
- When both validate_input and validate_output are disabled, tool invocation skips _get_cached_tool_definition, thereby improving performance when calling call_tool.
Code demo
def call_tool(self, *, validate_input: bool = True, validate_output: bool = True):
xxx
I will submit a PR, please help to merge it when I do.
References
No response