Clawdbot Tool Schema Bug – Google/Gemini/Antigravity Models

Error Message
[agent/embedded] google tool schema snapshot
[agent/embedded] google tool schema has unsupported keywords
[agent/embedded] google tool schema has unsupported keywords


Issue
Tool calls fail when using Google/Gemini/Antigravity models. The error appears twice (likely for browser and canvas tools). Other providers (OpenAI, Anthropic) work fine.

Suspected Cause
The tool schema (JSON Schema for tool parameters) contains keywords not supported by the Google/Gemini API. Possible candidates:
Tuple-style items
additionalProperties
$ref or complex nesting
Certain type combinations

What We've Tried
Checked out commit b7ba94f0c ("harden antigravity claude support" #968) – build hangs in TSC
Checked out origin/main with commit 3dddbe105 ("fix: ignore properties in google tool schema warnings") – build also hangs
Related PRs: #926 (tuple items), #741 (unsigned tool calls)

Current Workaround
Switch to Anthropic or OpenAI:
bash
clawdbot models set anthropic/claude-opus-4-5


Question
Has anyone found a fix for this? Are there specific schema keywords that need to be stripped for Google/Gemini compatibility? Any guidance would be appreciated!
Was this page helpful?