-
Notifications
You must be signed in to change notification settings - Fork 3.1k
Open
Labels
enhancementRequest for a new feature that's not currently supportedRequest for a new feature that's not currently supportedneeds confirmationNeeds confirmation that the PR is actually required or needed.Needs confirmation that the PR is actually required or needed.
Description
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
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
enhancementRequest for a new feature that's not currently supportedRequest for a new feature that's not currently supportedneeds confirmationNeeds confirmation that the PR is actually required or needed.Needs confirmation that the PR is actually required or needed.