[BUG] search_threads in the Gmail connector returns "Tool execution failed"
Preflight Checklist
- [x] I have searched existing issues and this hasn't been reported yet
- [x] This is a single bug report (please file separate reports for different bugs)
- [x] I am using the latest version of Claude Code
What's Wrong?
list_labels works fine — so the Gmail connection is good, but search_threads specifically is broken. This looks like a bug in the Gmail connector itself, not something on your end.
At this point I'd recommend reporting it to Anthropic at github.com/anthropics/claude-code/issues — describe that search_threads in the Gmail connector returns "Tool execution failed" while other tools like list_labels and get_thread work normally.
What Should Happen?
the Agent should check the emails ang save pdf files
Error Messages/Logs
Steps to Reproduce
open Aria agent
ask to continue the task - looking for files in other monthes
failed
Claude Model
None
Is this a regression?
Yes, this worked in a previous version
Last Working Version
_No response_
Claude Code Version
The Claude CLI isn't in the PATH from this session. You're running Claude as the desktop app, not via the CLI — so claude --version isn't available here.
Platform
Anthropic API
Operating System
macOS
Terminal/Shell
Terminal.app (macOS)
Additional Information
_No response_
This issue has 2 comments on GitHub. Read the full discussion on GitHub ↗