Skip to content

Conversation

@copybara-service
Copy link

fix: Remove GeminiSchemaUtil and use JsonSchema directly in FunctionDeclaration

The GeminiSchemaUtil was used to convert the MCP JsonSchema to a Gemini-compatible Schema. This conversion is now obsolete as the FunctionDeclaration.Builder can directly accept JsonSchema via the parametersJsonSchema method.

…eclaration

The `GeminiSchemaUtil` was used to convert the MCP `JsonSchema` to a Gemini-compatible `Schema`. This conversion is now obsolete as the `FunctionDeclaration.Builder` can directly accept `JsonSchema` via the `parametersJsonSchema` method.

PiperOrigin-RevId: 795538558
@copybara-service copybara-service bot merged commit 1a93675 into main Aug 15, 2025
@copybara-service copybara-service bot deleted the test_795518170 branch August 15, 2025 18:08
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant