-
Notifications
You must be signed in to change notification settings - Fork 2.3k
Closed
Labels
Description
Describe the bug
When using Gemini (Google AI studio) models with Fetch extension, the function definition sent by Goose triggers the following error on every chatbot response:
Ran into this error: Request failed: Request failed with status: 400 Bad Request. Message: * GenerateContentRequest.tools[0].function_declarations[0].parameters.properties[url].format: only 'enum' and 'date-time' are supported for STRING type
.
Please retry if you think this is a transient or recoverable error.
To Reproduce
Steps to reproduce the behavior:
- Install Fetch extension via https://block.github.io/goose/extensions/
- Configure Google and select Gemini models (such as
Gemini-2.0-flash) in Goose app - Enable only Fetch extension in Goose app
- Say "hi" to Gemini in Goose app
Expected behavior
- Gemini can respond.
Screenshots
Error is reported instead

Please provide following information:
- OS & Arch: Mac OSX Ventura 13.7.1
- Interface: UI
- Version: v1.0.15
- Extensions enabled: Fetch
- Provider & Model:
gemini-2.0-flash,gemini-2.5-pro-exp-03-25provided by Google (not Vertex AI)
Additional context
- It is not reproducible in Anthropic and OpenAI models. Probably because Gemini API is more strict on function call types.
- I tried
mcp-server-fetch+ Gemini on Cline. LLM can respond correctly, and it can also invoke the MCP when I specifically ask it to access an URL using fetch MCP. - Checked https://github.com/modelcontextprotocol/servers/issues?q=is%3Aissue%20state%3Aopen%20fetch%20 , no similar issues there
lxe, shoon, ThomasK33, e-wag, ziad-halabi9 and 13 more