diff --git a/google/genai/_gaos/types/interactions/functionresultstep.py b/google/genai/_gaos/types/interactions/functionresultstep.py index 3599ee57e..44065f005 100644 --- a/google/genai/_gaos/types/interactions/functionresultstep.py +++ b/google/genai/_gaos/types/interactions/functionresultstep.py @@ -42,14 +42,14 @@ class FunctionResultStepResult(BaseModel): "FunctionResultStepResultUnionParam", Union[FunctionResultStepResultParam, List[FunctionResultSubcontentParam], str], ) -r"""Required. The result of the tool call.""" +r"""The result of the tool call.""" FunctionResultStepResultUnion = TypeAliasType( "FunctionResultStepResultUnion", Union[FunctionResultStepResult, List[FunctionResultSubcontent], str], ) -r"""Required. The result of the tool call.""" +r"""The result of the tool call.""" class FunctionResultStepParam(TypedDict): @@ -58,7 +58,7 @@ class FunctionResultStepParam(TypedDict): call_id: str r"""Required. ID to match the ID from the function call block.""" result: FunctionResultStepResultUnionParam - r"""Required. The result of the tool call.""" + r"""The result of the tool call.""" is_error: NotRequired[bool] r"""Whether the tool call resulted in an error.""" name: NotRequired[str] @@ -73,7 +73,7 @@ class FunctionResultStep(BaseModel): r"""Required. ID to match the ID from the function call block.""" result: FunctionResultStepResultUnion - r"""Required. The result of the tool call.""" + r"""The result of the tool call.""" is_error: Optional[bool] = None r"""Whether the tool call resulted in an error.""" diff --git a/google/genai/_gaos/types/interactions/mcpservertoolresultstep.py b/google/genai/_gaos/types/interactions/mcpservertoolresultstep.py index c1cf9a6ab..3ab371a55 100644 --- a/google/genai/_gaos/types/interactions/mcpservertoolresultstep.py +++ b/google/genai/_gaos/types/interactions/mcpservertoolresultstep.py @@ -42,14 +42,14 @@ class MCPServerToolResultStepResult(BaseModel): "MCPServerToolResultStepResultUnionParam", Union[MCPServerToolResultStepResultParam, str, List[FunctionResultSubcontentParam]], ) -r"""Required. The output from the MCP server call. Can be simple text or rich content.""" +r"""The output from the MCP server call. Can be simple text or rich content.""" MCPServerToolResultStepResultUnion = TypeAliasType( "MCPServerToolResultStepResultUnion", Union[MCPServerToolResultStepResult, str, List[FunctionResultSubcontent]], ) -r"""Required. The output from the MCP server call. Can be simple text or rich content.""" +r"""The output from the MCP server call. Can be simple text or rich content.""" class MCPServerToolResultStepParam(TypedDict): @@ -58,7 +58,7 @@ class MCPServerToolResultStepParam(TypedDict): call_id: str r"""Required. ID to match the ID from the function call block.""" result: MCPServerToolResultStepResultUnionParam - r"""Required. The output from the MCP server call. Can be simple text or rich content.""" + r"""The output from the MCP server call. Can be simple text or rich content.""" name: NotRequired[str] r"""Name of the tool which is called for this specific tool call.""" server_name: NotRequired[str] @@ -73,7 +73,7 @@ class MCPServerToolResultStep(BaseModel): r"""Required. ID to match the ID from the function call block.""" result: MCPServerToolResultStepResultUnion - r"""Required. The output from the MCP server call. Can be simple text or rich content.""" + r"""The output from the MCP server call. Can be simple text or rich content.""" name: Optional[str] = None r"""Name of the tool which is called for this specific tool call."""