@@ -46,21 +46,21 @@ class Endpoint(TypedDict, total=False):
4646
4747
4848class HttpTool (TypedDict ):
49- type : Required [Literal ["http" ]] = "http"
49+ type : Required [Literal ["http" ]]
5050 function : Function
5151 endpoint : Endpoint
5252
5353
5454class McpTool (TypedDict , total = False ):
55- type : Required [Literal ["mcp" ]] = "mcp"
55+ type : Required [Literal ["mcp" ]]
5656 server_label : str
5757 server_url : str
5858 headers : Optional [dict ]
5959 allowed_tools : Optional [List [str ]]
6060
6161
6262class FileSearch (TypedDict , total = False ):
63- type : Literal ["file_search" ] = "file_search"
63+ type : Literal ["file_search" ]
6464 retrieval_similarity_threshold : Optional [float ]
6565 labels : Optional [List [str ]]
6666 labels_filter_mode : Optional [Literal ["AND" , "OR" ]]
@@ -71,7 +71,7 @@ class FileSearch(TypedDict, total=False):
7171
7272
7373class WebSearch (TypedDict , total = False ):
74- type : Literal ["web_search" ] = "web_search"
74+ type : Literal ["web_search" ]
7575 urls : Optional [List [str ]]
7676
7777
@@ -94,12 +94,12 @@ class ToolResources(TypedDict, total=False):
9494class Requirement (TypedDict , total = False ):
9595 name : str
9696 description : str
97- is_mandatory : bool = False
97+ is_mandatory : bool
9898
9999
100100class RequirementResultItem (Requirement , total = False ):
101101 score : float
102- reason : Optional [str ] = None
102+ reason : Optional [str ]
103103
104104
105105class RequirementsResult (TypedDict , total = False ):
0 commit comments