Skip to content

GenerateContentRequest.tools[0].function_declarations[22].parameters.properties[url].format: only 'enum' and 'date-time' are supported for STRING type #2237

@garrettg123

Description

@garrettg123

What happened?

✕ [API Error: got status: 400 Bad Request. {"error":{"message":"{\n "error": {\n "code": 400,\n "message": "*
GenerateContentRequest.tools[0].function_declarations[22].parameters.properties[url].format: only 'enum' and 'date-time' are supported for STRING type\n",\n "status": "INVALID_ARGUMENT"\n
}\n}\n","code":400,"status":"Bad Request"}}]

What did you expect to happen?

No error

Client information

  • CLI Version: 0.1.5
  • Git Commit: N/A
  • Operating System: darwin v20.19.2
  • Sandbox Environment: no sandbox
  • Model Version: gemini-2.5-pro
  • Memory Usage: 92.8 MB

Login information

Both

Anything else we need to know?

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    area/agentIssues related to Core Agent, Tools, Memory, Sub-Agents, Hooks, Agent Qualitypriority/p1Important and should be addressed in the near term.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions