I keep getting

I keep getting
{"finishReason":"MALFORMED_…","index":0}
],


Sometimes it works, sometimes it doesn't - likely Im guessing its happening because the tool call json schema is somehow messy. For example, it was happening 100% of the time, then in my prompt I added "make sure to remove escape characters and backticks" then now it works like 50/50
Was this page helpful?