Skip to content

ADK 1.18.0 spams the log with note about Field conversion for JSON Schema #3491

@flansen

Description

@flansen

** Please make sure you read the contribution guide and file the issues in the right place. **
Contribution guide.

Describe the bug
With the upgrade to 1.18.0 the ADK logs the following statement on INFO level over and over.
We use various McpToolsets that are connected to FastMCP servers.
Furthermore, we have two FunctionTools.

I have no clue what the log is supposed to tell me; we do not use Vertex and/or Gemini API.
It looks like a DEBUG/TRACE log to me, especially because it is logged ~10 times per agent interaction.

this comes from google.genai.types.py:

2025-11-11 08:03:18 - google_genai.types - INFO - 
Note: Conversion of fields that are not included in the JSONSchema class are ignored. Json Schema is now supported natively by both Vertex AI and Gemini API. Users are recommended to pass/receive Json Schema directly to/from the API. For example:
1. the counter part of GenerateContentConfig.response_schema is GenerateContentConfig.response_json_schema, which accepts [JSON Schema](https://json-schema.org/)
2. the counter part of FunctionDeclaration.parameters is FunctionDeclaration.parameters_json_schema, which accepts [JSON Schema](https://json-schema.org/)
3. the counter part of FunctionDeclaration.response is FunctionDeclaration.response_json_schema, which accepts [JSON Schema](https://json-schema.org/)

To Reproduce

  1. interact with an agent in adk

Not sure which part of our setup causes it.

Expected behavior

Log is not spammed.

Screenshots
%

Desktop (please complete the following information):

  • OS: MacOS
  • Python version(python -V): 3.17
  • ADK version(pip show google-adk): 1.18.0

Model Information:

  • Are you using LiteLLM: Yes
  • Which model is being used(e.g. gemini-2.5-pro): azure/gpt5

Metadata

Metadata

Labels

core[Component] This issue is related to the core interface and implementationhelp wanted[Community] Extra attention is neededneed attention[Status] This issue is important but the maintainers haven't started working on itrequest clarification[Status] The maintainer need clarification or more information from the author

Type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions