fix(protocol): ResponseTool accepts extra fields (tool_search execution)

This commit is contained in:
2026-11-13 23:25:50 +08:00
parent b6a5d70cba
commit 85605b8c72
@@ -1836,6 +1836,8 @@ RESPONSE_TOOL_TYPES = Literal[
class ResponseTool(BaseModel):
"""Tool definition for responses."""
model_config = ConfigDict(extra="allow")
type: RESPONSE_TOOL_TYPES = Field(description="Type of tool to enable")
name: Optional[str] = None
description: Optional[str] = None