Integrate support for Google Gemini 3's function calling with structured output, allowing `function_tools` to leverage this capability.
### Initial Checks - [x] I'm using the [latest version](https://github.com/pydantic/pydantic-ai/releases/latest) of Pydantic AI - [x] I've searched for my issue in [the issue tracker](https://github.com/pydantic/pydantic-ai/issues) before opening this issue ### Description # Description Google Gemini 3 supports function calling with structured output [docs](https://ai.google.dev/gemini-api/docs/function-calling?example=meeting#structured-output). Using `function_tools` with `NativeOutput` for `GoogleModel(""gemini-3-flash-preview",...)`, raises the following exception `pydantic_ai.exceptions.UserError: Google does not support `NativeOutput` and function tools at the same time. Use `output_type=ToolOutput(...)` instead.`. # Proposed Fix Currently, I have this patch in place to override the behavior and enable NativeOutput with tool calling and streaming for gemini-3 models. ``` --- a/pydantic_ai/models/google.py 2026-03-17 10:01:11.000000000 -0700 +++ b/pydantic_ai/models/google